From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Sat, 22 Apr 2017 12:20:44 +0530 Subject: [U-Boot] [PATCH 2/6] dm: mmc: omap_hsmmc: Add pre-reloc flag to the driver In-Reply-To: <20170422065048.8617-1-lokeshvutla@ti.com> References: <20170422065048.8617-1-lokeshvutla@ti.com> Message-ID: <20170422065048.8617-3-lokeshvutla@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de For platforms that don't use device tree in SPL the only way to mark this driver as 'required by relocation' is with the DM_FLAG_PRE_RELOC flag. Add this to ensure that the driver is bound. Signed-off-by: Lokesh Vutla --- drivers/mmc/omap_hsmmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index f2489473b0..d6194adc5e 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -876,5 +876,6 @@ U_BOOT_DRIVER(omap_hsmmc) = { #endif .probe = omap_hsmmc_probe, .priv_auto_alloc_size = sizeof(struct omap_hsmmc_data), + .flags = DM_FLAG_PRE_RELOC, }; #endif -- 2.11.0