[PATCH] arm: mvebu: Espressobin: When emmc is not present disable it also in OF_LIVE
Stefan Roese
sr at denx.de
Tue Sep 13 08:58:44 CEST 2022
On 27.08.22 14:00, Pali Rohár wrote:
> Signed-off-by: Pali Rohár <pali at kernel.org>
Applied to u-boot-marvell/master
Thanks,
Stefan
> ---
> board/Marvell/mvebu_armada-37xx/board.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/board/Marvell/mvebu_armada-37xx/board.c b/board/Marvell/mvebu_armada-37xx/board.c
> index 5ae133879f32..45779198b678 100644
> --- 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 */
Viele Grüße,
Stefan Roese
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de
More information about the U-Boot
mailing list