Skip to contentSkip to conversation

x86: edison: Move config SYS_MALLOC_LEN to Kconfig

PATCH New Andy Shevchenko 3 participants 4 messages Sep 8, 2020 – Sep 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: edison: Move config SYS_MALLOC_LEN to Kconfig

This patch moves the the config SYS_MALLOC_LEN to Kconfig as it is already done for zynq arch in commit 01aa5b8f0503 ("Kconfig: Move config SYS_MALLOC_LEN to Kconfig for zynq").

---
 board/intel/edison/Kconfig | 3 +++
 include/configs/edison.h   | 4 ----
 2 files changed, 3 insertions(+), 4 deletions(-)
board/intel/edison/Kconfig +3 -0
index ef9b14aa2bfd..05d65445e407 100644
@@ -12,6 +12,9 @@ config SYS_SOC
 config SYS_CONFIG_NAME
 	default "edison"
 
+config SYS_MALLOC_LEN
+	default 0x08000000
+
 config SYS_TEXT_BASE
 	default 0x01101000
 
include/configs/edison.h +0 -4
index 606c656a7272..0e1205bdb54c 100644
@@ -23,10 +23,6 @@
 #define CONFIG_SYS_MONITOR_BASE			CONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_MONITOR_LEN			(256 * 1024)
 
-#define CONFIG_SYS_MALLOC_LEN			(128 * 1024 * 1024)
-
-/* Environment */
-
 /* RTC */
 #define CONFIG_SYS_ISA_IO_BASE_ADDRESS	0
 
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 x86: edison: Move config SYS_MALLOC_LEN to Kconfig

Quoted 10 lines · Andy Shevchenko

This patch moves the the config SYS_MALLOC_LEN to Kconfig as it is already done for zynq arch in commit 01aa5b8f0503 ("Kconfig: Move config SYS_MALLOC_LEN to Kconfig for zynq").

---
 board/intel/edison/Kconfig | 3 +++
 include/configs/edison.h   | 4 ----
 2 files changed, 3 insertions(+), 4 deletions(-)
#2 lore raw

PATCH 1/1 x86: edison: Move config SYS_MALLOC_LEN to Kconfig

In reply to Andy Shevchenko
Quoted 11 lines · Andy Shevchenko

This patch moves the the config SYS_MALLOC_LEN to Kconfig as it is already done for zynq arch in commit 01aa5b8f0503 ("Kconfig: Move config SYS_MALLOC_LEN to Kconfig for zynq").

---
 board/intel/edison/Kconfig | 3 +++
 include/configs/edison.h   | 4 ----
 2 files changed, 3 insertions(+), 4 deletions(-)
#3 lore raw

PATCH 1/1 x86: edison: Move config SYS_MALLOC_LEN to Kconfig

Quoted 8 lines · Bin Meng
Quoted 5 lines · Andy Shevchenko

This patch moves the the config SYS_MALLOC_LEN to Kconfig as it is already done for zynq arch in commit 01aa5b8f0503 ("Kconfig: Move config SYS_MALLOC_LEN to Kconfig for zynq").

Quoted 8 lines
Quoted 6 lines
---
 board/intel/edison/Kconfig | 3 +++
 include/configs/edison.h   | 4 ----
 2 files changed, 3 insertions(+), 4 deletions(-)

applied to u-boot-x86, thanks!