From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80798C54EE9 for ; Tue, 13 Sep 2022 06:58:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 991C684A86; Tue, 13 Sep 2022 08:58:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1663052331; bh=5J4Vx6xY/Yi76MC+iq1OKRMU1AfrOlxt0r/wmZeKxiI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ZPebwXGCPOcYTKKul6dcAdgv7TV1M90S9n8/ZTmbzpxQAjOnxqyXWkI3LIMa4WQrg znIBblRuX6PS2gJcPHAGoaI+4jZnPEA+kim/LopsJzOWAvbQQHeSxAmL/LyHX+XegL IrGw6/DLLLiXJVC+UciWB/fEfBR1lsAg7h33M69sDJYv7G8EU0GdeyoMJUKDTMkNs6 7bn1xijZXbcSEdGoCOGOQPThZUJ5Y6gI+qnppqnLhHoEJIloGF60Gbj9RB76JStFDj 1PVme8iOCVDBQvVpm2N4ZDWjTFwDgcGYn1sDbvOBqMfWj9XSkjDDC1AfonExXAmeV3 om6SE5/yBvLlw== Received: by phobos.denx.de (Postfix, from userid 109) id 6D1F684A86; Tue, 13 Sep 2022 08:58:49 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [80.241.59.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0CB6884B9F for ; Tue, 13 Sep 2022 08:58:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4MRZ7T1Cckz9sV8; Tue, 13 Sep 2022 08:58:45 +0200 (CEST) Message-ID: Date: Tue, 13 Sep 2022 08:58:44 +0200 MIME-Version: 1.0 Subject: Re: [PATCH] arm: mvebu: Espressobin: When emmc is not present disable it also in OF_LIVE Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: u-boot@lists.denx.de References: <20220827120051.28092-1-pali@kernel.org> From: Stefan Roese In-Reply-To: <20220827120051.28092-1-pali@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 27.08.22 14:00, Pali Rohár wrote: > Signed-off-by: Pali Rohár 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