From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 03 Apr 2024 12:39:34 +0200 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 1rry1m-005rER-1z for lore@lore.pengutronix.de; Wed, 03 Apr 2024 12:39:34 +0200 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 1rry1l-0002N7-VL; Wed, 03 Apr 2024 12:39:33 +0200 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 1rry1d-0002DY-Fs; Wed, 03 Apr 2024 12:39:25 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.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 1rry1d-00A9tq-37; Wed, 03 Apr 2024 12:39:25 +0200 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1rry1d-00DIKb-02; Wed, 03 Apr 2024 12:39:25 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Wed, 3 Apr 2024 12:39:17 +0200 Message-Id: <20240403103924.3168404-2-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240403103924.3168404-1-a.fatoum@pengutronix.de> References: <20240403103924.3168404-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v2 1/8] v7a: bootstate: remove unused environment partitions 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: Ahmad Fatoum 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 Both BeagleBone Black and Raspberry Pi boot from a FAT partition containing barebox. barebox will use same FAT partition for storage of its environment, so the specified raw partition remains unused and can be dropped. Signed-off-by: Ahmad Fatoum --- v1 -> v2: - new patch --- configs/platform-v7a/dts/bootstate.dtsi | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/configs/platform-v7a/dts/bootstate.dtsi b/configs/platform-v7a/dts/bootstate.dtsi index cd24d74d4aea..26b3bccef578 100644 --- a/configs/platform-v7a/dts/bootstate.dtsi +++ b/configs/platform-v7a/dts/bootstate.dtsi @@ -25,12 +25,9 @@ barebox: partition@0 { label = "barebox"; - reg = <0x0 0x0 0x0 0xc000>; - }; - environment: partition@c0000 { - label = "barebox-environment"; - reg = <0x0 0xc0000 0x0 0x20000>; + reg = <0x0 0x0 0x0 0xe0000>; }; + backend_state_mmc1: partition@e0000 { label = "state"; reg = <0x0 0xe0000 0x0 0x20000>; @@ -69,11 +66,6 @@ label = "barebox-state"; reg = <0x100000 0x100000>; }; - - partition@200000 { - label = "barebox-environment"; - reg = <0x200000 0x100000>; - }; }; #endif -- 2.39.2