summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2021-05-07 12:54:38 +0530
committerPraneeth Bajjuri <praneeth@ti.com>2021-05-14 00:06:14 -0500
commitf1e25a8a0f1d4978d05b1f2b654fd6608771d8c1 (patch)
tree352d25b45e236424189eea15399ffca3e9be0bbe /include
parent398cc669548a0f52965c520308a7d2623d9b2c0b (diff)
include: configs: am64x_evm: Optimize size of SPL BSS
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 <lokeshvutla@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/am64x_evm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/am64x_evm.h b/include/configs/am64x_evm.h
index 20fd1a3159..2ed8a7662e 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