summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2017-04-26 08:07:06 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-12 02:21:28 (GMT)
commitcbcb1701643bf8f4f5f73648fd96c52eb4e4bc59 (patch)
tree6678913712977660a2cd660acce99e199310bdc9 /drivers
parent2558c049068bcb246f6b4bf891fe09a53e19aaac (diff)
downloadu-boot-cbcb1701643bf8f4f5f73648fd96c52eb4e4bc59.tar.xz
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 <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/omap_hsmmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
index f422ed5..c136ab0 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