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:
parent
ad885e4570
commit
b724bd7d63
19
Kconfig
19
Kconfig
|
@ -56,6 +56,25 @@ config CC_OPTIMIZE_FOR_SIZE
|
||||||
|
|
||||||
This option is enabled by default for U-Boot.
|
This option is enabled by default for U-Boot.
|
||||||
|
|
||||||
|
config SYS_MALLOC_F
|
||||||
|
bool "Enable malloc() pool before relocation"
|
||||||
|
default 0x400
|
||||||
|
help
|
||||||
|
Before relocation memory is very limited on many platforms. Still,
|
||||||
|
we can provide a small malloc() pool if needed. Driver model in
|
||||||
|
particular needs this to operate, so that it can allocate the
|
||||||
|
initial serial device and any others that are needed.
|
||||||
|
|
||||||
|
config SYS_MALLOC_F_LEN
|
||||||
|
hex "Size of malloc() pool before relocation"
|
||||||
|
depends on SYS_MALLOC_F
|
||||||
|
default 0x400
|
||||||
|
help
|
||||||
|
Before relocation memory is very limited on many platforms. Still,
|
||||||
|
we can provide a small malloc() pool if needed. Driver model in
|
||||||
|
particular needs this to operate, so that it can allocate the
|
||||||
|
initial serial device and any others that are needed.
|
||||||
|
|
||||||
menuconfig EXPERT
|
menuconfig EXPERT
|
||||||
bool "Configure standard U-Boot features (expert users)"
|
bool "Configure standard U-Boot features (expert users)"
|
||||||
help
|
help
|
||||||
|
|
|
@ -80,6 +80,12 @@ config DM_SPI_FLASH
|
||||||
config DM_GPIO
|
config DM_GPIO
|
||||||
default y if !SPL_BUILD
|
default y if !SPL_BUILD
|
||||||
|
|
||||||
|
config SYS_MALLOC_F
|
||||||
|
default y if !SPL_BUILD
|
||||||
|
|
||||||
|
config SYS_MALLOC_F_LEN
|
||||||
|
default 0x400 if !SPL_BUILD
|
||||||
|
|
||||||
source "board/samsung/smdkv310/Kconfig"
|
source "board/samsung/smdkv310/Kconfig"
|
||||||
source "board/samsung/trats/Kconfig"
|
source "board/samsung/trats/Kconfig"
|
||||||
source "board/samsung/universal_c210/Kconfig"
|
source "board/samsung/universal_c210/Kconfig"
|
||||||
|
|
|
@ -102,6 +102,12 @@ config DM_GPIO
|
||||||
config DM_SERIAL
|
config DM_SERIAL
|
||||||
default y if DM && !SPL_BUILD
|
default y if DM && !SPL_BUILD
|
||||||
|
|
||||||
|
config SYS_MALLOC_F
|
||||||
|
default y if DM && !SPL_BUILD
|
||||||
|
|
||||||
|
config SYS_MALLOC_F_LEN
|
||||||
|
default 0x400 if DM && !SPL_BUILD
|
||||||
|
|
||||||
config SYS_SOC
|
config SYS_SOC
|
||||||
default "omap3"
|
default "omap3"
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,12 @@ config TEGRA124
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config SYS_MALLOC_F
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SYS_MALLOC_F_LEN
|
||||||
|
default 0x1800
|
||||||
|
|
||||||
config USE_PRIVATE_LIBGCC
|
config USE_PRIVATE_LIBGCC
|
||||||
default y if SPL_BUILD
|
default y if SPL_BUILD
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,12 @@ config DCC_MICRO_SUPPORT_CARD
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config SYS_MALLOC_F
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SYS_MALLOC_F_LEN
|
||||||
|
default 0x2000
|
||||||
|
|
||||||
config CMD_PINMON
|
config CMD_PINMON
|
||||||
bool "Enable boot mode pins monitor command"
|
bool "Enable boot mode pins monitor command"
|
||||||
default y
|
default y
|
||||||
|
|
|
@ -76,6 +76,12 @@ config DM_GPIO
|
||||||
config DM_SERIAL
|
config DM_SERIAL
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config SYS_MALLOC_F
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SYS_MALLOC_F_LEN
|
||||||
|
default 0x800
|
||||||
|
|
||||||
config RAMBASE
|
config RAMBASE
|
||||||
hex
|
hex
|
||||||
default 0x100000
|
default 0x100000
|
||||||
|
|
|
@ -47,4 +47,10 @@ config DM_GPIO
|
||||||
config DM_SERIAL
|
config DM_SERIAL
|
||||||
default y if DM && !SPL_BUILD
|
default y if DM && !SPL_BUILD
|
||||||
|
|
||||||
|
config SYS_MALLOC_F
|
||||||
|
default y if DM && !SPL_BUILD
|
||||||
|
|
||||||
|
config SYS_MALLOC_F_LEN
|
||||||
|
default 0x400 if DM && !SPL_BUILD
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -13,3 +13,5 @@ CONFIG_OF_SEPARATE=y
|
||||||
+S:CONFIG_DRAM_CLK=480
|
+S:CONFIG_DRAM_CLK=480
|
||||||
+S:CONFIG_DRAM_ZQ=122
|
+S:CONFIG_DRAM_ZQ=122
|
||||||
+S:CONFIG_DRAM_EMR1=4
|
+S:CONFIG_DRAM_EMR1=4
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_AM335X_IGEP0033=y
|
+S:CONFIG_TARGET_AM335X_IGEP0033=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -5,3 +5,5 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL,SPL"
|
||||||
CONFIG_DM=y
|
CONFIG_DM=y
|
||||||
CONFIG_DM_GPIO=y
|
CONFIG_DM_GPIO=y
|
||||||
CONFIG_DM_SERIAL=y
|
CONFIG_DM_SERIAL=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_CM_T335=y
|
+S:CONFIG_TARGET_CM_T335=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -2,3 +2,5 @@ CONFIG_SPL=y
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_GW_VENTANA=y
|
+S:CONFIG_TARGET_GW_VENTANA=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/mx6dl.cfg,MX6DL"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/mx6dl.cfg,MX6DL"
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_TARGET_MX6QSABREAUTO=y
|
CONFIG_TARGET_MX6QSABREAUTO=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg,MX6Q"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg,MX6Q"
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_TARGET_MX6QSABREAUTO=y
|
CONFIG_TARGET_MX6QSABREAUTO=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg,MX6Q"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg,MX6Q"
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_TARGET_MX6SABRESD=y
|
CONFIG_TARGET_MX6SABRESD=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sxsabresd/imximage.cfg,MX6SX"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sxsabresd/imximage.cfg,MX6SX"
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_TARGET_MX6SXSABRESD=y
|
CONFIG_TARGET_MX6SXSABRESD=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -4,3 +4,5 @@ CONFIG_TARGET_NOKIA_RX51=y
|
||||||
CONFIG_DM=n
|
CONFIG_DM=n
|
||||||
CONFIG_DM_SERIAL=n
|
CONFIG_DM_SERIAL=n
|
||||||
CONFIG_DM_GPIO=n
|
CONFIG_DM_GPIO=n
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -2,3 +2,5 @@ CONFIG_SPL=y
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="REV1"
|
CONFIG_SYS_EXTRA_OPTIONS="REV1"
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_PCM051=y
|
+S:CONFIG_TARGET_PCM051=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -2,3 +2,5 @@ CONFIG_SPL=y
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="REV3"
|
CONFIG_SYS_EXTRA_OPTIONS="REV3"
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_PCM051=y
|
+S:CONFIG_TARGET_PCM051=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_PENGWYN=y
|
+S:CONFIG_TARGET_PENGWYN=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_PEPPER=y
|
+S:CONFIG_TARGET_PEPPER=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_TARGET_RPI=y
|
CONFIG_TARGET_RPI=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -2,3 +2,5 @@ CONFIG_ARM=y
|
||||||
CONFIG_ARCH_S5PC1XX=y
|
CONFIG_ARCH_S5PC1XX=y
|
||||||
CONFIG_TARGET_S5P_GONI=y
|
CONFIG_TARGET_S5P_GONI=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="s5pc1xx-goni"
|
CONFIG_DEFAULT_DEVICE_TREE="s5pc1xx-goni"
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -5,3 +5,5 @@ CONFIG_FIT_VERBOSE=y
|
||||||
CONFIG_FIT_SIGNATURE=y
|
CONFIG_FIT_SIGNATURE=y
|
||||||
CONFIG_DM=y
|
CONFIG_DM=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="sandbox"
|
CONFIG_DEFAULT_DEVICE_TREE="sandbox"
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -2,3 +2,5 @@ CONFIG_ARM=y
|
||||||
CONFIG_TARGET_SMDKC100=y
|
CONFIG_TARGET_SMDKC100=y
|
||||||
CONFIG_ARCH_S5PC1XX=y
|
CONFIG_ARCH_S5PC1XX=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="s5pc1xx-smdkc100"
|
CONFIG_DEFAULT_DEVICE_TREE="s5pc1xx-smdkc100"
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -4,3 +4,5 @@ CONFIG_TARGET_SNAPPER9260=y
|
||||||
CONFIG_DM=y
|
CONFIG_DM=y
|
||||||
CONFIG_DM_GPIO=y
|
CONFIG_DM_GPIO=y
|
||||||
CONFIG_DM_SERIAL=y
|
CONFIG_DM_SERIAL=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -4,3 +4,5 @@ CONFIG_TARGET_SNAPPER9260=y
|
||||||
CONFIG_DM=y
|
CONFIG_DM=y
|
||||||
CONFIG_DM_GPIO=y
|
CONFIG_DM_GPIO=y
|
||||||
CONFIG_DM_SERIAL=y
|
CONFIG_DM_SERIAL=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="stv0991"
|
CONFIG_SYS_EXTRA_OPTIONS="stv0991"
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_TARGET_STV0991=y
|
CONFIG_TARGET_STV0991=y
|
||||||
|
CONFIG_SYS_MALLOC_F=y
|
||||||
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
||||||
|
|
|
@ -21,10 +21,7 @@
|
||||||
#define CONFIG_MACH_TYPE 4273
|
#define CONFIG_MACH_TYPE 4273
|
||||||
|
|
||||||
#ifndef CONFIG_SPL_BUILD
|
#ifndef CONFIG_SPL_BUILD
|
||||||
|
|
||||||
#define CONFIG_CMD_GPIO
|
#define CONFIG_CMD_GPIO
|
||||||
|
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Display information on boot */
|
/* Display information on boot */
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
#define CONFIG_ENV_OVERWRITE
|
#define CONFIG_ENV_OVERWRITE
|
||||||
|
|
||||||
/* Size of malloc() pool before and after relocation */
|
/* 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))
|
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 << 20))
|
||||||
|
|
||||||
/* select serial console configuration */
|
/* select serial console configuration */
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
|
|
||||||
/* Size of malloc() pool */
|
/* Size of malloc() pool */
|
||||||
#define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024)
|
#define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024)
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
|
||||||
|
|
||||||
/* Init Functions */
|
/* Init Functions */
|
||||||
#define CONFIG_BOARD_EARLY_INIT_F
|
#define CONFIG_BOARD_EARLY_INIT_F
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
#define CONFIG_DM
|
#define CONFIG_DM
|
||||||
#define CONFIG_DM_THERMAL
|
#define CONFIG_DM_THERMAL
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
|
||||||
#define CONFIG_IMX6_THERMAL
|
#define CONFIG_IMX6_THERMAL
|
||||||
|
|
||||||
#define CONFIG_SYS_GENERIC_BOARD
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
|
|
|
@ -229,7 +229,6 @@
|
||||||
|
|
||||||
#define CONFIG_DM
|
#define CONFIG_DM
|
||||||
#define CONFIG_DM_THERMAL
|
#define CONFIG_DM_THERMAL
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
|
||||||
#define CONFIG_IMX6_THERMAL
|
#define CONFIG_IMX6_THERMAL
|
||||||
|
|
||||||
#define CONFIG_CMD_FUSE
|
#define CONFIG_CMD_FUSE
|
||||||
|
|
|
@ -72,7 +72,6 @@
|
||||||
#define CONFIG_UBI_SIZE (512 << 10)
|
#define CONFIG_UBI_SIZE (512 << 10)
|
||||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + CONFIG_UBI_SIZE + \
|
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + CONFIG_UBI_SIZE + \
|
||||||
(128 << 10))
|
(128 << 10))
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hardware drivers
|
* Hardware drivers
|
||||||
|
|
|
@ -116,7 +116,6 @@
|
||||||
#define CONFIG_SYS_MEMTEST_END 0x20000000
|
#define CONFIG_SYS_MEMTEST_END 0x20000000
|
||||||
|
|
||||||
#define CONFIG_SYS_MALLOC_LEN (64 * 1024 * 1024)
|
#define CONFIG_SYS_MALLOC_LEN (64 * 1024 * 1024)
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
|
||||||
|
|
||||||
/* SPL */
|
/* SPL */
|
||||||
#define CONFIG_SPL_FAT_SUPPORT
|
#define CONFIG_SPL_FAT_SUPPORT
|
||||||
|
|
|
@ -46,7 +46,6 @@
|
||||||
CONFIG_SYS_SDRAM_SIZE - \
|
CONFIG_SYS_SDRAM_SIZE - \
|
||||||
GENERATED_GBL_DATA_SIZE)
|
GENERATED_GBL_DATA_SIZE)
|
||||||
#define CONFIG_SYS_MALLOC_LEN SZ_4M
|
#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_START 0x00100000
|
||||||
#define CONFIG_SYS_MEMTEST_END 0x00200000
|
#define CONFIG_SYS_MEMTEST_END 0x00200000
|
||||||
#define CONFIG_LOADADDR 0x00200000
|
#define CONFIG_LOADADDR 0x00200000
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
#define CONFIG_CMDLINE_EDITING
|
#define CONFIG_CMDLINE_EDITING
|
||||||
|
|
||||||
/* Size of malloc() pool before and after relocation */
|
/* 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))
|
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 << 20))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -60,7 +60,6 @@
|
||||||
/*
|
/*
|
||||||
* Size of malloc() pool, before and after relocation
|
* Size of malloc() pool, before and after relocation
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
|
||||||
#define CONFIG_MALLOC_F_ADDR 0x0010000
|
#define CONFIG_MALLOC_F_ADDR 0x0010000
|
||||||
#define CONFIG_SYS_MALLOC_LEN (32 << 20) /* 32MB */
|
#define CONFIG_SYS_MALLOC_LEN (32 << 20) /* 32MB */
|
||||||
|
|
||||||
|
|
|
@ -48,9 +48,6 @@
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (1 << 20))
|
#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
|
* select serial console configuration
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#define CONFIG_SYS_AT91_MAIN_CLOCK 18432000 /* External Crystal, in Hz */
|
#define CONFIG_SYS_AT91_MAIN_CLOCK 18432000 /* External Crystal, in Hz */
|
||||||
#define CONFIG_SYS_AT91_SLOW_CLOCK 32768
|
#define CONFIG_SYS_AT91_SLOW_CLOCK 32768
|
||||||
#define CONFIG_SYS_GENERIC_BOARD
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
|
||||||
|
|
||||||
/* CPU */
|
/* CPU */
|
||||||
#define CONFIG_ARCH_CPU_INIT
|
#define CONFIG_ARCH_CPU_INIT
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
(PHYS_SDRAM_1_SIZE - CONFIG_ENV_SIZE)
|
(PHYS_SDRAM_1_SIZE - CONFIG_ENV_SIZE)
|
||||||
#define CONFIG_SYS_MAXARGS 16
|
#define CONFIG_SYS_MAXARGS 16
|
||||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 16 * 1024)
|
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 16 * 1024)
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN 0x2000
|
|
||||||
|
|
||||||
#define CONFIG_DM
|
#define CONFIG_DM
|
||||||
/* serial port (PL011) configuration */
|
/* serial port (PL011) configuration */
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
|
|
||||||
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM)
|
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM)
|
||||||
# define CONFIG_DW_SERIAL
|
# define CONFIG_DW_SERIAL
|
||||||
# define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
* Size of malloc() pool
|
* Size of malloc() pool
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */
|
#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 */
|
#define CONFIG_SYS_NONCACHED_MEMORY (1 << 20) /* 1 MiB */
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
|
|
||||||
#ifndef CONFIG_SPL_BUILD
|
#ifndef CONFIG_SPL_BUILD
|
||||||
# define CONFIG_OMAP_SERIAL
|
# define CONFIG_OMAP_SERIAL
|
||||||
# define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <asm/arch/omap.h>
|
#include <asm/arch/omap.h>
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
#ifndef CONFIG_SPL_BUILD
|
#ifndef CONFIG_SPL_BUILD
|
||||||
# define CONFIG_OMAP_SERIAL
|
# define CONFIG_OMAP_SERIAL
|
||||||
# define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The chip has SDRC controller */
|
/* The chip has SDRC controller */
|
||||||
|
|
|
@ -80,8 +80,6 @@
|
||||||
#define CONFIG_SMC911X_BASE CONFIG_SUPPORT_CARD_ETHER_BASE
|
#define CONFIG_SMC911X_BASE CONFIG_SUPPORT_CARD_ETHER_BASE
|
||||||
#define CONFIG_SMC911X_32_BIT
|
#define CONFIG_SMC911X_32_BIT
|
||||||
|
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN 0x2000
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* MMU and Cache Setting
|
* MMU and Cache Setting
|
||||||
*----------------------------------------------------------------------*/
|
*----------------------------------------------------------------------*/
|
||||||
|
|
|
@ -187,7 +187,6 @@
|
||||||
#define CONFIG_SYS_STACK_SIZE (32 * 1024)
|
#define CONFIG_SYS_STACK_SIZE (32 * 1024)
|
||||||
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
|
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
|
||||||
#define CONFIG_SYS_MALLOC_LEN 0x200000
|
#define CONFIG_SYS_MALLOC_LEN 0x200000
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN (2 << 10)
|
|
||||||
|
|
||||||
/* allow to overwrite serial and ethaddr */
|
/* allow to overwrite serial and ethaddr */
|
||||||
#define CONFIG_ENV_OVERWRITE
|
#define CONFIG_ENV_OVERWRITE
|
||||||
|
|
Loading…
Reference in New Issue