public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: "Pali Rohár" <pali@kernel.org>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH] arm: mvebu: Espressobin: When emmc is not present disable it also in OF_LIVE
Date: Tue, 13 Sep 2022 08:58:44 +0200	[thread overview]
Message-ID: <afb293c3-df63-6624-28ca-3f398fa191d3@denx.de> (raw)
In-Reply-To: <20220827120051.28092-1-pali@kernel.org>

On 27.08.22 14:00, Pali Rohár wrote:
> Signed-off-by: Pali Rohár <pali@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@denx.de

      parent reply	other threads:[~2022-09-13  6:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-27 12:00 [PATCH] arm: mvebu: Espressobin: When emmc is not present disable it also in OF_LIVE Pali Rohár
2022-08-30  2:30 ` Simon Glass
2022-08-30 12:26 ` Stefan Roese
2022-09-13  6:58 ` Stefan Roese [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=afb293c3-df63-6624-28ca-3f398fa191d3@denx.de \
    --to=sr@denx.de \
    --cc=pali@kernel.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox