summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-09-08 16:57:22 +0300
committerBin Meng <bmeng.cn@gmail.com>2020-09-21 09:47:24 +0800
commit5a53441a91e41cdcf720dfacbd2ac4e804cf8341 (patch)
treee681e4b28709187f6a5184ec46461250dae2d7b6
parent400f84c5baaec9b8a9f30e4ea77785e6f9e00c4b (diff)
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"). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--board/intel/edison/Kconfig3
-rw-r--r--include/configs/edison.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/board/intel/edison/Kconfig b/board/intel/edison/Kconfig
index ef9b14aa2b..05d65445e4 100644
--- a/board/intel/edison/Kconfig
+++ b/board/intel/edison/Kconfig
@@ -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
diff --git a/include/configs/edison.h b/include/configs/edison.h
index 606c656a72..0e1205bdb5 100644
--- a/include/configs/edison.h
+++ b/include/configs/edison.h
@@ -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