summaryrefslogtreecommitdiff
path: root/include/configs/am65x_evm.h
diff options
context:
space:
mode:
authorAndreas Dannenberg <dannenberg@ti.com>2019-06-04 17:55:49 -0500
committerTom Rini <trini@konsulko.com>2019-07-17 11:12:54 -0400
commitb3b1ed4bca0130c7c4de01948b1df2affa589444 (patch)
treed28c464aacec7f9fa3805095b8560b3cb65e2ef9 /include/configs/am65x_evm.h
parent0c45dfadec2bd736821e69f9822af8ecbd052a2f (diff)
armv7R: K3: am654: Use full malloc implementation in SPL
Switch to using the full malloc scheme in post-relocation SPL to allow better utilization of available memory for example by allowing memory to get freed. Initially allocate a 16MB-sized region in DDR starting at address 0x84000000 for this purpose. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Diffstat (limited to 'include/configs/am65x_evm.h')
-rw-r--r--include/configs/am65x_evm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h
index 1319745963..ea365b979b 100644
--- a/include/configs/am65x_evm.h
+++ b/include/configs/am65x_evm.h
@@ -41,6 +41,9 @@
CONFIG_SPL_BSS_MAX_SIZE)
/* Set the stack right below the SPL BSS section */
#define CONFIG_SYS_INIT_SP_ADDR CONFIG_SPL_BSS_START_ADDR
+/* Configure R5 SPL post-relocation malloc pool in DDR */
+#define CONFIG_SYS_SPL_MALLOC_START 0x84000000
+#define CONFIG_SYS_SPL_MALLOC_SIZE SZ_16M
#endif
#ifdef CONFIG_SYS_K3_SPL_ATF