From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH 1/2] v7a: barebox: define state for all supported board variants
Date: Tue, 5 Dec 2023 10:59:29 +0100 [thread overview]
Message-ID: <20231205095929.3469672-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20231205095929.3469672-1-a.fatoum@pengutronix.de>
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 <a.fatoum@pengutronix.de>
---
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
next prev parent reply other threads:[~2023-12-05 9:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 9:59 [DistroKit] [PATCH 0/2] fixed after bootchooser switch Ahmad Fatoum
2023-12-05 9:59 ` Ahmad Fatoum [this message]
2023-12-11 10:33 ` [DistroKit] [PATCH 1/2] v7a: barebox: define state for all supported board variants Roland Hieber
2023-12-12 18:04 ` Robert Schwebel
2023-12-05 9:59 ` [DistroKit] [PATCH 2/2] v8a: barebox: env: fix boot for i.MX8M EVKs Ahmad Fatoum
2023-12-11 10:35 ` Roland Hieber
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=20231205095929.3469672-2-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=distrokit@pengutronix.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