aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLokesh Vutla2021-05-06 16:44:54 +0530
committerLokesh Vutla2021-05-12 16:32:44 +0530
commit212cba02b7db8635ae45c97e99dcb8020bfebc9b (patch)
treef9e9b41a40a8d4b0d27bbbd09fdfad5492017e15 /include
parentaad1614468e900771051701f46b0f93656dda698 (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 5d756b409de..6fe5c19f127 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