]> git.sur5r.net Git - u-boot/commitdiff
dm: mmc: omap_hsmmc: Add pre-reloc flag to the driver
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 26 Apr 2017 08:07:06 +0000 (13:37 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 02:21:28 +0000 (22:21 -0400)
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 <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/mmc/omap_hsmmc.c

index f422ed55320ced09126785db393bf7e6eb408490..c136ab0ec8ffee5432f52a87890fa69102d4a336 100644 (file)
@@ -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