[U-Boot] [PATCH 15/29] blackfin: Drop CONFIG_SYS_MALLOC_BASE

Simon Glass sjg at chromium.org
Thu Dec 15 04:27:46 CET 2016


This is not used in U-Boot, so drop it from the config. Since this is the
last user, drop it from the whitelist also.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/blackfin/include/asm/config.h | 3 ---
 scripts/config_whitelist.txt       | 1 -
 2 files changed, 4 deletions(-)

diff --git a/arch/blackfin/include/asm/config.h b/arch/blackfin/include/asm/config.h
index ea30ff8..bfcd703 100644
--- a/arch/blackfin/include/asm/config.h
+++ b/arch/blackfin/include/asm/config.h
@@ -106,9 +106,6 @@
 #  define CONFIG_SYS_MONITOR_BASE 0
 # endif
 #endif
-#ifndef CONFIG_SYS_MALLOC_BASE
-# define CONFIG_SYS_MALLOC_BASE (CONFIG_SYS_MONITOR_BASE - CONFIG_SYS_MALLOC_LEN)
-#endif
 #ifndef CONFIG_SYS_POST_WORD_ADDR
 # define CONFIG_SYS_POST_WORD_ADDR (L1_DATA_B_SRAM + L1_DATA_B_SRAM_SIZE - 4)
 #endif
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index e79486d..ea1350d 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -6258,7 +6258,6 @@ CONFIG_SYS_MACB1_BASE
 CONFIG_SYS_MACB2_BASE
 CONFIG_SYS_MACB3_BASE
 CONFIG_SYS_MAIN_PWR_ON
-CONFIG_SYS_MALLOC_BASE
 CONFIG_SYS_MALLOC_CLEAR_ON_INIT
 CONFIG_SYS_MALLOC_END
 CONFIG_SYS_MALLOC_LEN
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list