mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-24 14:25:56 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -132,6 +132,8 @@ int board_late_init(void)
|
||||||
dev = mmc_dev->dev;
|
dev = mmc_dev->dev;
|
||||||
device_remove(dev, DM_REMOVE_NORMAL);
|
device_remove(dev, DM_REMOVE_NORMAL);
|
||||||
device_unbind(dev);
|
device_unbind(dev);
|
||||||
|
if (of_live_active())
|
||||||
|
ofnode_set_enabled(dev_ofnode(dev), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ensure that 'env default -a' set correct value to $fdtfile */
|
/* Ensure that 'env default -a' set correct value to $fdtfile */
|
||||||
|
|
Loading…
Add table
Reference in a new issue