summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2021-03-09 23:32:44 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2021-03-15 12:13:44 +0530
commit003d10ba6412bb9d888d951efaaf5de7133db89c (patch)
treeea77b5ea41e84f570a66e4de10edfe0eb9e29d98
parenta69c48959b7adb0df770c8733df73e42b5376d66 (diff)
downloadu-boot-003d10ba6412bb9d888d951efaaf5de7133db89c.tar.gz
include: configs: am65x_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 132369 7852 1496 141717 22995 spl/u-boot-spl But 20KB is allocated currently for BSS. Reduce it to 3KB and save some space for stack. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
-rw-r--r--include/configs/am65x_evm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h
index b39a5b4ca4..76d73086fb 100644
--- a/include/configs/am65x_evm.h
+++ b/include/configs/am65x_evm.h
@@ -30,7 +30,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 0xc00
/*
* 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