From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 26 Apr 2021 08:05:34 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lauNC-0002gN-L1 for lore@lore.pengutronix.de; Mon, 26 Apr 2021 08:05:34 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lauNB-0007fV-O2; Mon, 26 Apr 2021 08:05:33 +0200 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lauN5-0007eK-K1; Mon, 26 Apr 2021 08:05:27 +0200 Received: from rhi by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lauN5-0000UI-9R; Mon, 26 Apr 2021 08:05:27 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Mon, 26 Apr 2021 08:05:22 +0200 Message-Id: <20210426060526.32029-1-rhi@pengutronix.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [DistroKit] [PATCH 1/5] v7a: image-vexpress: convert hex numbers to human-readable sizes 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: Roland Hieber Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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.ext.pengutronix.de); SAEximRunCond expanded to false genimage already supports human-readable syntax, which makes the config easier to understand. Signed-off-by: Roland Hieber --- configs/platform-v7a/config/images/vexpress-nor.config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/platform-v7a/config/images/vexpress-nor.config b/configs/platform-v7a/config/images/vexpress-nor.config index 77118517ce4e..790ee5fac1dd 100644 --- a/configs/platform-v7a/config/images/vexpress-nor.config +++ b/configs/platform-v7a/config/images/vexpress-nor.config @@ -10,14 +10,14 @@ image @IMAGE@ { partition barebox-environment { /* empty environment -> use barebox builtin */ image = barebox-zero-env-vexpress - offset = 0x80000 /* 512 KiB */ + offset = 512K in-partition-table = false } partition barebox-state { image = /dev/null - offset = 0x100000 /* 1 MiB */ + offset = 1M in-partition-table = false - size = 0x100000 /* 1 MiB */ + size = 1M } /* expand image size to 64 MiB; dummy size, results in 0 bytes length */ partition end { -- 2.29.2 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de