From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 11 Dec 2023 11:33:58 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rCdbp-000Knn-2z for lore@lore.pengutronix.de; Mon, 11 Dec 2023 11:33:58 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rCdbq-0006Ha-BV; Mon, 11 Dec 2023 11:33:58 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rCdbo-0006HL-Lq; Mon, 11 Dec 2023 11:33:56 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rCdbo-00F4kz-9h; Mon, 11 Dec 2023 11:33:56 +0100 Received: from rhi by pty.whiteo.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1rCdbo-00ASI9-0i; Mon, 11 Dec 2023 11:33:56 +0100 Date: Mon, 11 Dec 2023 11:33:56 +0100 From: Roland Hieber To: Ahmad Fatoum Message-ID: <20231211103356.qsu3epbifd2hwirf@pengutronix.de> References: <20231205095929.3469672-1-a.fatoum@pengutronix.de> <20231205095929.3469672-2-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231205095929.3469672-2-a.fatoum@pengutronix.de> Subject: Re: [DistroKit] [PATCH 1/2] v7a: barebox: define state for all supported board variants X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: distrokit@pengutronix.de Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Tue, Dec 05, 2023 at 10:59:29AM +0100, Ahmad Fatoum wrote: > Boot up is broken on some of the Raspberry Pi and STM32MP1 board we > support, because boot method is changed to bootchooser, but state isn't > defined. Fix this by extending state definition to the missed boards. > > Signed-off-by: Ahmad Fatoum Ah, I replied to the first version of this patch… here too: Reviewed-by: Roland Hieber > --- > configs/platform-v7a/dts/bootstate.dtsi | 13 +++++++++---- > 1 file changed, 9 insertions(+), 4 deletions(-) > > diff --git a/configs/platform-v7a/dts/bootstate.dtsi b/configs/platform-v7a/dts/bootstate.dtsi > index c77df2e19d65..cd24d74d4aea 100644 > --- a/configs/platform-v7a/dts/bootstate.dtsi > +++ b/configs/platform-v7a/dts/bootstate.dtsi > @@ -39,8 +39,11 @@ > }; > #endif > > -/** Raspberry Pi 3 Model B ****************************************************/ > -#ifdef bcm2837_rpi_3_dts > +/** Raspberry Pi **************************************************************/ > +#if defined(bcm2836_rpi_2_dts) || \ > + defined(bcm2837_rpi_3_dts) || \ > + defined(bcm2837_rpi_cm3_dts) || \ > + defined(bcm2711_rpi_4_dts) > / { > aliases { > state = &state; > @@ -101,8 +104,10 @@ > }; > #endif > > -/** LXA MC1 *******************************************************************/ > -#ifdef stm32mp157c_lxa_mc1_dts > +/** STM32MP1 ******************************************************************/ > +#if defined(stm32mp157c_lxa_mc1_dts) || \ > + defined(stm32mp157c_dk2_dts) || \ > + defined(stm32mp157c_ev1_dts) > / { > aliases { > state = &state_mmc0; > -- > 2.39.2 > > > -- Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |