Re: [U-Boot] [RFC] spl: dw_mmc_socfpga: udevice structure is NULL in SPL

2018-04-26 Thread Dinh Nguyen
On 04/25/2018 09:26 PM, Ley Foon Tan wrote: > On Thu, Apr 26, 2018 at 10:24 AM, Dinh Nguyen wrote: >> Hi, >> >> I am trying to add support for the sdmmc driver to use the reset manager >> driver in SPL. But I'm noticing that the udevice struct dev that passed >> into

Re: [U-Boot] [RFC] spl: dw_mmc_socfpga: udevice structure is NULL in SPL

2018-04-25 Thread Ley Foon Tan
On Thu, Apr 26, 2018 at 10:24 AM, Dinh Nguyen wrote: > Hi, > > I am trying to add support for the sdmmc driver to use the reset manager > driver in SPL. But I'm noticing that the udevice struct dev that passed > into socfpga_dwmmc_probe() is NULL, thus, I can't use the >

[U-Boot] [RFC] spl: dw_mmc_socfpga: udevice structure is NULL in SPL

2018-04-25 Thread Dinh Nguyen
Hi, I am trying to add support for the sdmmc driver to use the reset manager driver in SPL. But I'm noticing that the udevice struct dev that passed into socfpga_dwmmc_probe() is NULL, thus, I can't use the reset_get_by_() functions to get the reset information because it needs the dev structure