diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2017-04-26 13:37:06 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-11 22:21:28 -0400 |
commit | cbcb1701643bf8f4f5f73648fd96c52eb4e4bc59 (patch) | |
tree | 6678913712977660a2cd660acce99e199310bdc9 /drivers | |
parent | 2558c049068bcb246f6b4bf891fe09a53e19aaac (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |