Skip to contentSkip to conversation

arm: Remove redundant "xPL_SYS_MALLOC_F default y" entries

PATCH In review Tom Rini 1 participant 2 messages Mar 25 – Apr 8

Subsystems (4)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 arm: Remove redundant "xPL_SYS_MALLOC_F default y" entries

The symbol SPL_SYS_MALLOC_F defaults to y when visible and TPL_SYS_MALLOC_F defaults to y when visible and SPL_SYS_MALLOC_F is enabled. Remove the places from Kconfig files that had unneccsary "default y" for these options.

---
 arch/arm/mach-rockchip/rv1126/Kconfig | 3 ---
 arch/arm/mach-snapdragon/Kconfig      | 3 ---
 arch/arm/mach-socfpga/Kconfig         | 3 ---
 3 files changed, 9 deletions(-)
arch/arm/mach-rockchip/rv1126/Kconfig +0 -3
index 330b7df2312e..43eeaa9c4493 100644
@@ -49,9 +49,6 @@ config TPL_LDSCRIPT
 config TPL_STACK
         default 0xff718000
 
-config TPL_SYS_MALLOC_F
-	default y
-
 config TPL_SYS_MALLOC_F_LEN
 	default 0x2000
 
arch/arm/mach-snapdragon/Kconfig +0 -3
index 976c0e35fcef..d3de8693b5a8 100644
@@ -17,9 +17,6 @@ config SYS_MALLOC_LEN
 config SYS_MALLOC_F_LEN
 	default 0x2000
 
-config SPL_SYS_MALLOC_F
-	default y
-
 config SPL_SYS_MALLOC_F_LEN
 	default 0x2000
 
arch/arm/mach-socfpga/Kconfig +0 -3
index aec0fb7b1c8e..fb98b6474425 100644
@@ -31,9 +31,6 @@ config SPL_SIZE_LIMIT_PROVIDE_STACK
 config SPL_STACK_R_ADDR
 	default 0x00800000 if ARCH_SOCFPGA_GEN5
 
-config SPL_SYS_MALLOC_F
-	default y if ARCH_SOCFPGA_GEN5
-
 config SPL_SYS_MALLOC_F_LEN
 	default 0x800 if ARCH_SOCFPGA_GEN5
 
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 6 lines · Tom Rini

The symbol SPL_SYS_MALLOC_F defaults to y when visible and TPL_SYS_MALLOC_F defaults to y when visible and SPL_SYS_MALLOC_F is enabled. Remove the places from Kconfig files that had unneccsary "default y" for these options.

Applied to u-boot/master, thanks!

[1/1] arm: Remove redundant "xPL_SYS_MALLOC_F default y" entries

      commit: 83df1103ef3787e7682bf8fe94c06281cb174bfc
Signature · 1 line
Tom