dm: Kconfig: Move CONFIG_SYS_MALLOC_F_LEN to Kconfig
Move this option to Kconfig and update all boards. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -21,10 +21,7 @@
|
||||
#define CONFIG_MACH_TYPE 4273
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
|
||||
#define CONFIG_CMD_GPIO
|
||||
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
#endif
|
||||
|
||||
/* Display information on boot */
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#define CONFIG_ENV_OVERWRITE
|
||||
|
||||
/* Size of malloc() pool before and after relocation */
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 << 20))
|
||||
|
||||
/* select serial console configuration */
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
|
||||
/* Size of malloc() pool */
|
||||
#define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024)
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
|
||||
/* Init Functions */
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
|
||||
#define CONFIG_DM
|
||||
#define CONFIG_DM_THERMAL
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
#define CONFIG_IMX6_THERMAL
|
||||
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
|
||||
@@ -229,7 +229,6 @@
|
||||
|
||||
#define CONFIG_DM
|
||||
#define CONFIG_DM_THERMAL
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
#define CONFIG_IMX6_THERMAL
|
||||
|
||||
#define CONFIG_CMD_FUSE
|
||||
|
||||
@@ -72,7 +72,6 @@
|
||||
#define CONFIG_UBI_SIZE (512 << 10)
|
||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + CONFIG_UBI_SIZE + \
|
||||
(128 << 10))
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
|
||||
/*
|
||||
* Hardware drivers
|
||||
|
||||
@@ -116,7 +116,6 @@
|
||||
#define CONFIG_SYS_MEMTEST_END 0x20000000
|
||||
|
||||
#define CONFIG_SYS_MALLOC_LEN (64 * 1024 * 1024)
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
|
||||
/* SPL */
|
||||
#define CONFIG_SPL_FAT_SUPPORT
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
CONFIG_SYS_SDRAM_SIZE - \
|
||||
GENERATED_GBL_DATA_SIZE)
|
||||
#define CONFIG_SYS_MALLOC_LEN SZ_4M
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
#define CONFIG_SYS_MEMTEST_START 0x00100000
|
||||
#define CONFIG_SYS_MEMTEST_END 0x00200000
|
||||
#define CONFIG_LOADADDR 0x00200000
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
#define CONFIG_CMDLINE_EDITING
|
||||
|
||||
/* Size of malloc() pool before and after relocation */
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 << 20))
|
||||
|
||||
/*
|
||||
|
||||
@@ -60,7 +60,6 @@
|
||||
/*
|
||||
* Size of malloc() pool, before and after relocation
|
||||
*/
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
#define CONFIG_MALLOC_F_ADDR 0x0010000
|
||||
#define CONFIG_SYS_MALLOC_LEN (32 << 20) /* 32MB */
|
||||
|
||||
|
||||
@@ -48,9 +48,6 @@
|
||||
*/
|
||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (1 << 20))
|
||||
|
||||
/* Small malloc pool before relocation */
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
|
||||
/*
|
||||
* select serial console configuration
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#define CONFIG_SYS_AT91_MAIN_CLOCK 18432000 /* External Crystal, in Hz */
|
||||
#define CONFIG_SYS_AT91_SLOW_CLOCK 32768
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
|
||||
/* CPU */
|
||||
#define CONFIG_ARCH_CPU_INIT
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
(PHYS_SDRAM_1_SIZE - CONFIG_ENV_SIZE)
|
||||
#define CONFIG_SYS_MAXARGS 16
|
||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 16 * 1024)
|
||||
#define CONFIG_SYS_MALLOC_F_LEN 0x2000
|
||||
|
||||
#define CONFIG_DM
|
||||
/* serial port (PL011) configuration */
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM)
|
||||
# define CONFIG_DW_SERIAL
|
||||
# define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
* Size of malloc() pool
|
||||
*/
|
||||
#define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
|
||||
#define CONFIG_SYS_NONCACHED_MEMORY (1 << 20) /* 1 MiB */
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
# define CONFIG_OMAP_SERIAL
|
||||
# define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
#endif
|
||||
|
||||
#include <asm/arch/omap.h>
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
# define CONFIG_OMAP_SERIAL
|
||||
# define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
#endif
|
||||
|
||||
/* The chip has SDRC controller */
|
||||
|
||||
@@ -80,8 +80,6 @@
|
||||
#define CONFIG_SMC911X_BASE CONFIG_SUPPORT_CARD_ETHER_BASE
|
||||
#define CONFIG_SMC911X_32_BIT
|
||||
|
||||
#define CONFIG_SYS_MALLOC_F_LEN 0x2000
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
* MMU and Cache Setting
|
||||
*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -187,7 +187,6 @@
|
||||
#define CONFIG_SYS_STACK_SIZE (32 * 1024)
|
||||
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
|
||||
#define CONFIG_SYS_MALLOC_LEN 0x200000
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (2 << 10)
|
||||
|
||||
/* allow to overwrite serial and ethaddr */
|
||||
#define CONFIG_ENV_OVERWRITE
|
||||
|
||||
Reference in New Issue
Block a user