mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: GoMe e143_01: fix default state priorities
@ 2024-05-15 13:16 Roland Hieber
  2024-05-16  5:57 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2024-05-15 13:16 UTC (permalink / raw)
  To: barebox; +Cc: Roland Hieber

During the initial installation we can forgo writing an initial state
variable set to the eMMC if it is zeroed, and if the default values
priorities are set correctly. Since only the first rootfs partition is
populated during the install process, it should be preferred over the
second rootfs.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 arch/arm/dts/imx7d-gome-e143_01.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/imx7d-gome-e143_01.dts b/arch/arm/dts/imx7d-gome-e143_01.dts
index ea118ddc76f7..ed7f3cfa216b 100644
--- a/arch/arm/dts/imx7d-gome-e143_01.dts
+++ b/arch/arm/dts/imx7d-gome-e143_01.dts
@@ -50,7 +50,7 @@ remaining_attempts@0 {
 				priority@4 {
 					reg = <0x4 0x4>;
 					type = "uint32";
-					default = <10>;
+					default = <20>;
 				};
 			};
 
@@ -67,7 +67,7 @@ remaining_attempts@8 {
 				priority@c {
 					reg = <0xc 0x4>;
 					type = "uint32";
-					default = <20>;
+					default = <10>;
 				};
 			};
 
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: GoMe e143_01: fix default state priorities
  2024-05-15 13:16 [PATCH] ARM: dts: GoMe e143_01: fix default state priorities Roland Hieber
@ 2024-05-16  5:57 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-05-16  5:57 UTC (permalink / raw)
  To: barebox, Roland Hieber


On Wed, 15 May 2024 15:16:08 +0200, Roland Hieber wrote:
> During the initial installation we can forgo writing an initial state
> variable set to the eMMC if it is zeroed, and if the default values
> priorities are set correctly. Since only the first rootfs partition is
> populated during the install process, it should be preferred over the
> second rootfs.
> 
> 
> [...]

Applied, thanks!

[1/1] ARM: dts: GoMe e143_01: fix default state priorities
      https://git.pengutronix.de/cgit/barebox/commit/?id=a657866d377b (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-16  5:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-15 13:16 [PATCH] ARM: dts: GoMe e143_01: fix default state priorities Roland Hieber
2024-05-16  5:57 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox