]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: edison: Move config SYS_MALLOC_LEN to Kconfig
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 8 Sep 2020 13:57:22 +0000 (16:57 +0300)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 21 Sep 2020 01:47:24 +0000 (09:47 +0800)
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>
board/intel/edison/Kconfig
include/configs/edison.h

index ef9b14aa2bfde1c230af783611d9a44e2606a883..05d65445e4071881cdc4bae584061d8cf62e1c7d 100644 (file)
@@ -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
 
index 606c656a727246f77a6c9adb039df7c5a1c19681..0e1205bdb54cb1ca86be827293cf474b37c9adc4 100644 (file)
 #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