From 433f019118dc2b1b180a461c7d284722bda5818b Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Mon, 26 Apr 2021 08:05:23 +0200 Subject: v7a: images: remove redundant size specifications For partitions that are filled by another image, it does not make sense to make partitions larger or smaller than their containing file system. In those cases, genimage can already determine the partition sizes from the referenced images, and calculates the partition offsets accordingly, so in most cases we don't have to keep track of the sizes at all. (A special case is vexpress.hdimg, which needs to have an empty block at the end as a workaround for qemu, in which case it is clearer to have all partition sizes and offsets explicitely in the config file. So don't touch vexpress.hdimg here.) Signed-off-by: Roland Hieber Link: https://lore.pengutronix.de/20210426060526.32029-2-rhi@pengutronix.de Signed-off-by: Robert Schwebel --- configs/platform-v7a/config/images/rpi2.config | 2 -- 1 file changed, 2 deletions(-) (limited to 'configs/platform-v7a/config/images/rpi2.config') diff --git a/configs/platform-v7a/config/images/rpi2.config b/configs/platform-v7a/config/images/rpi2.config index 3e45e1a..f8da7d4 100644 --- a/configs/platform-v7a/config/images/rpi2.config +++ b/configs/platform-v7a/config/images/rpi2.config @@ -13,14 +13,12 @@ image @IMAGE@ { } partition boot { image = rpi2-boot.vfat - size = 32M partition-type = 0xc bootable = true } partition root-A { image = root.ext2 partition-type = 0x83 - size = 512M } partition data { partition-type = 0x83 -- cgit v1.2.3