projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b0bbc
)
arm: mvebu: Espressobin: When emmc is not present disable it also in OF_LIVE
author
Pali Rohár
<pali@kernel.org>
Sat, 27 Aug 2022 12:00:51 +0000
(14:00 +0200)
committer
Stefan Roese
<sr@denx.de>
Tue, 13 Sep 2022 04:38:08 +0000
(06:38 +0200)
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
board/Marvell/mvebu_armada-37xx/board.c
patch
|
blob
|
history
diff --git
a/board/Marvell/mvebu_armada-37xx/board.c
b/board/Marvell/mvebu_armada-37xx/board.c
index
3e5e0a0
..
c6ecc32
100644
(file)
--- a/
board/Marvell/mvebu_armada-37xx/board.c
+++ b/
board/Marvell/mvebu_armada-37xx/board.c
@@
-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 */