mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-21 06:01:39 +00:00
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>
This commit is contained in:
parent
2558c04906
commit
cbcb170164
1 changed files with 1 additions and 0 deletions
|
@ -903,5 +903,6 @@ U_BOOT_DRIVER(omap_hsmmc) = {
|
||||||
#endif
|
#endif
|
||||||
.probe = omap_hsmmc_probe,
|
.probe = omap_hsmmc_probe,
|
||||||
.priv_auto_alloc_size = sizeof(struct omap_hsmmc_data),
|
.priv_auto_alloc_size = sizeof(struct omap_hsmmc_data),
|
||||||
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue