From: Lokesh Vutla Date: Wed, 26 Apr 2017 08:07:06 +0000 (+0530) Subject: dm: mmc: omap_hsmmc: Add pre-reloc flag to the driver X-Git-Tag: v2017.07-rc1~339 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cbcb1701643bf8f4f5f73648fd96c52eb4e4bc59;p=u-boot dm: mmc: omap_hsmmc: Add pre-reloc flag to the driver 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. Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index f422ed5532..c136ab0ec8 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -903,5 +903,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