From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Thu, 6 May 2021 16:44:54 +0530 Subject: [PATCH 07/18] include: configs: am64x_evm: Optimize size of SPL BSS In-Reply-To: <20210506111505.6741-1-lokeshvutla@ti.com> References: <20210506111505.6741-1-lokeshvutla@ti.com> Message-ID: <20210506111505.6741-8-lokeshvutla@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Current BSS allocation of SPL is as below: size spl/u-boot-spl text data bss dec hex filename 144572 5484 1752 151808 25100 spl/u-boot-spl But 20KB is allocated currently for BSS. Reduce it to 4KB and save some space for stack. Signed-off-by: Lokesh Vutla --- include/configs/am64x_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/am64x_evm.h b/include/configs/am64x_evm.h index 5d756b409d..6fe5c19f12 100644 --- a/include/configs/am64x_evm.h +++ b/include/configs/am64x_evm.h @@ -35,7 +35,7 @@ * our memory footprint. The less we use for BSS the more we have available * for everything else. */ -#define CONFIG_SPL_BSS_MAX_SIZE 0x5000 +#define CONFIG_SPL_BSS_MAX_SIZE 0x1000 /* * Link BSS to be within SPL in a dedicated region located near the top of * the MCU SRAM, this way making it available also before relocation. Note -- 2.30.0