From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Ahmad Fatoum Date: Fri, 12 Mar 2021 23:28:13 +0100 Message-Id: <20210312222814.24177-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH 1/2] v7a: barebox: verify MLO size at build time List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: distrokit@pengutronix.de Cc: Ahmad Fatoum SRAM0 on the AM335x is 109K in size. Specify this in the config, so we get a build error if our MLO exceeds this size. Signed-off-by: Ahmad Fatoum --- Please order before Uwe's series to avoid the intermittent breakage. --- configs/platform-v7a/barebox-am335x-mlo.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/platform-v7a/barebox-am335x-mlo.config b/configs/platform-v7a/barebox-am335x-mlo.config index 618d8e77bb3a..7245cd662d0c 100644 --- a/configs/platform-v7a/barebox-am335x-mlo.config +++ b/configs/platform-v7a/barebox-am335x-mlo.config @@ -48,7 +48,7 @@ CONFIG_CPU_32v7=y # processor features # # CONFIG_BOOT_ENDIANNESS_SWITCH is not set -CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff +CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x1b400 # # OMAP Features -- 2.29.2 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de