arm: mvebu: Espressobin: When emmc is not present disable it also in OF_LIVE
Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
f7b0bbca2b
commit
8ac3615e8d
@ -132,6 +132,8 @@ int board_late_init(void)
|
||||
dev = mmc_dev->dev;
|
||||
device_remove(dev, DM_REMOVE_NORMAL);
|
||||
device_unbind(dev);
|
||||
if (of_live_active())
|
||||
ofnode_set_enabled(dev_ofnode(dev), false);
|
||||
}
|
||||
|
||||
/* Ensure that 'env default -a' set correct value to $fdtfile */
|
||||
|
Loading…
Reference in New Issue
Block a user