From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 12 Dec 2023 19:04:43 +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 1rD77b-001UyZ-09 for lore@lore.pengutronix.de; Tue, 12 Dec 2023 19:04:43 +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 1rD77b-0006ex-Ej; Tue, 12 Dec 2023 19:04:43 +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 1rD77Z-0006ei-6b; Tue, 12 Dec 2023 19:04:41 +0100 Received: from [2a0a:edc0:2:b01:1d::c0] (helo=ptx.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 1rD77Y-00FOXL-Qa; Tue, 12 Dec 2023 19:04:40 +0100 Received: from rsc by ptx.whiteo.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1rD77Y-006g6y-M9; Tue, 12 Dec 2023 19:04:40 +0100 Date: Tue, 12 Dec 2023 19:04:40 +0100 From: Robert Schwebel To: Ahmad Fatoum Message-ID: <20231212180440.GY1528860@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=us-ascii Content-Disposition: inline In-Reply-To: <20231205095929.3469672-2-a.fatoum@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) 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 Applied to next (replaced the older version). 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 > --- > 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 > > > -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |