From: Dinh Nguyen Date: Wed, 25 Apr 2018 21:24:19 -0500 Subject: [U-Boot] [RFC] spl: dw_mmc_socfpga: udevice structure is NULL in SPL Message-ID: <2759370e-0e96-6661-e4f9-7f6279653073@kernel.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 is NULL. Not sure if I'm missing a config option or something? Thanks, Dinh