]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: Kconfig: Move CONFIG_SYS_MALLOC_F_LEN to Kconfig
authorSimon Glass <sjg@chromium.org>
Wed, 11 Feb 2015 23:32:59 +0000 (16:32 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:51:19 +0000 (13:51 +0200)
Move this option to Kconfig and update all boards.
Signed-off-by: Simon Glass <sjg@chromium.org>
47 files changed:
Kconfig
arch/arm/cpu/armv7/exynos/Kconfig
arch/arm/cpu/armv7/omap3/Kconfig
arch/arm/cpu/armv7/tegra-common/Kconfig
arch/arm/cpu/armv7/uniphier/Kconfig
arch/x86/Kconfig
board/ti/am335x/Kconfig
configs/Linksprite_pcDuino3_fdt_defconfig
configs/am335x_igep0033_defconfig
configs/cm_fx6_defconfig
configs/cm_t335_defconfig
configs/gwventana_defconfig
configs/mx6dlsabreauto_defconfig
configs/mx6qsabreauto_defconfig
configs/mx6qsabresd_defconfig
configs/mx6sxsabresd_defconfig
configs/nokia_rx51_defconfig
configs/pcm051_rev1_defconfig
configs/pcm051_rev3_defconfig
configs/pengwyn_defconfig
configs/pepper_defconfig
configs/rpi_defconfig
configs/s5p_goni_defconfig
configs/sandbox_defconfig
configs/smdkc100_defconfig
configs/snapper9260_defconfig
configs/snapper9g20_defconfig
configs/stv0991_defconfig
include/configs/cm_fx6.h
include/configs/exynos-common.h
include/configs/gw_ventana.h
include/configs/mx6sabre_common.h
include/configs/mx6sxsabresd.h
include/configs/nokia_rx51.h
include/configs/novena.h
include/configs/rpi.h
include/configs/s5p_goni.h
include/configs/sandbox.h
include/configs/smdkc100.h
include/configs/snapper9260.h
include/configs/stv0991.h
include/configs/sunxi-common.h
include/configs/tegra-common.h
include/configs/ti_am335x_common.h
include/configs/ti_omap3_common.h
include/configs/uniphier.h
include/configs/x86-common.h

diff --git a/Kconfig b/Kconfig
index 23c19aff97e68a93024197447333ac6e92905a1a..2c87fcef8d799e2f83c7f5c9e813ebb7414ff22c 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -56,6 +56,25 @@ config CC_OPTIMIZE_FOR_SIZE
 
          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
         bool "Configure standard U-Boot features (expert users)"
         help
index 17ad567c190d96ff909fafa06e7ba57a9a497107..2064efa761991b89488219b54019cefdd99064f7 100644 (file)
@@ -80,6 +80,12 @@ config DM_SPI_FLASH
 config DM_GPIO
        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/trats/Kconfig"
 source "board/samsung/universal_c210/Kconfig"
index 2fe323230fed032eb74fccbd9e560b75cf550dd2..46440981b3744e315a2f424fb7ebb75ca485bb4d 100644 (file)
@@ -102,6 +102,12 @@ config DM_GPIO
 config DM_SERIAL
        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
        default "omap3"
 
index 93dc7320c99f9a78d0ad53e86633f161b51add2c..ee3246929a34222dd14a2a3ff504806871d85c73 100644 (file)
@@ -17,6 +17,12 @@ config TEGRA124
 
 endchoice
 
+config SYS_MALLOC_F
+       default y
+
+config SYS_MALLOC_F_LEN
+       default 0x1800
+
 config USE_PRIVATE_LIBGCC
        default y if SPL_BUILD
 
index 5c5a84fe56c4fc0da0f68f8cc028fa672ed90a01..1a47ac90290940a8c301d262686843e33c85f660 100644 (file)
@@ -48,6 +48,12 @@ config DCC_MICRO_SUPPORT_CARD
 
 endchoice
 
+config SYS_MALLOC_F
+       default y
+
+config SYS_MALLOC_F_LEN
+       default 0x2000
+
 config CMD_PINMON
        bool "Enable boot mode pins monitor command"
        default y
index bb3ff4393eaadc44c3f2f52c53a1924794711dde..35d24e4acaec1a1d8a72d3b7de5a0c617b4a03ef 100644 (file)
@@ -76,6 +76,12 @@ config DM_GPIO
 config DM_SERIAL
        default y
 
+config SYS_MALLOC_F
+       default y
+
+config SYS_MALLOC_F_LEN
+       default 0x800
+
 config RAMBASE
        hex
        default 0x100000
index d6581ac46879c62f78c7e377c9c14f2084143b37..a20e0c1ab9545874199d4fb2262289cb6f30a26c 100644 (file)
@@ -47,4 +47,10 @@ config DM_GPIO
 config DM_SERIAL
        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
index cfed375fc2cda077db0861cd9889770a9de40f78..1e749cded15364fa0939df3dc6fd85bf00330ad5 100644 (file)
@@ -13,3 +13,5 @@ CONFIG_OF_SEPARATE=y
 +S:CONFIG_DRAM_CLK=480
 +S:CONFIG_DRAM_ZQ=122
 +S:CONFIG_DRAM_EMR1=4
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 23f0a32d635570cb962cb5071ae9b7184162bde1..f3544b5238fa00d50a08e7ce6fcfb5960a813465 100644 (file)
@@ -1,3 +1,5 @@
 CONFIG_SPL=y
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_AM335X_IGEP0033=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index d2ebf692f36af67a4347a715fe13fd703e3ae91f..631698c95dd4e50cf8efabb1e135b661d53b0e24 100644 (file)
@@ -5,3 +5,5 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL,SPL"
 CONFIG_DM=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_SERIAL=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 5ff4f9c4a594a16c134647a765082c787b046945..5c1d3cf3a5d1f721ffef3de8cad2d78a6bdd5793 100644 (file)
@@ -1,3 +1,5 @@
 CONFIG_SPL=y
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_CM_T335=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 4cddbdd65535657f8ca7d7d2cb41cccea0c4952f..5b1a4c4e5874b16b73d691d023ef8fa21cef7e30 100644 (file)
@@ -2,3 +2,5 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_GW_VENTANA=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index b649935912f4b563da3f5f2426b520bfd139f269..ccdfe31992fc14fcb26ce0197c3e163f2113557e 100644 (file)
@@ -1,3 +1,5 @@
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/mx6dl.cfg,MX6DL"
 CONFIG_ARM=y
 CONFIG_TARGET_MX6QSABREAUTO=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 7d86700b30a9c0055d987ac60e10c12f96aa9822..fe3d797851916e900efad866985e4ae142ad2c6e 100644 (file)
@@ -1,3 +1,5 @@
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg,MX6Q"
 CONFIG_ARM=y
 CONFIG_TARGET_MX6QSABREAUTO=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 67c1b77e05d356badbc0bbfad2841b1e045678ae..09b01905e6ff391e99252168b2e4d6fa27b137b5 100644 (file)
@@ -1,3 +1,5 @@
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg,MX6Q"
 CONFIG_ARM=y
 CONFIG_TARGET_MX6SABRESD=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index f23d48f361fc8e907e10b19b8f20c76fa87b75c9..72e0f103ec070fb9b964f5ef32d0cbcedd50e09f 100644 (file)
@@ -1,3 +1,5 @@
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sxsabresd/imximage.cfg,MX6SX"
 CONFIG_ARM=y
 CONFIG_TARGET_MX6SXSABRESD=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 20a51e1d2fd81478e86455b985ce20e03d0680dd..1bb7664ed7a402f534cfa6c94956a590573c0237 100644 (file)
@@ -4,3 +4,5 @@ CONFIG_TARGET_NOKIA_RX51=y
 CONFIG_DM=n
 CONFIG_DM_SERIAL=n
 CONFIG_DM_GPIO=n
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 8b27682997ee757ccbc0e6a2b50ea2b3b9402cb0..baa2b231b05669dbbde8935f3a40d954ffaee9c9 100644 (file)
@@ -2,3 +2,5 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="REV1"
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_PCM051=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 27ad6ff26b101a21551bf33d2fb4802acaea1847..b5c62a6a3b043882bdc1fbc9443b010aafbf2e1e 100644 (file)
@@ -2,3 +2,5 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="REV3"
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_PCM051=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 1b9aa68260c833a7564718fa30d1892441bb0675..cbdd404c70d50e456977785baaa85e055e38fe98 100644 (file)
@@ -1,3 +1,5 @@
 CONFIG_SPL=y
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_PENGWYN=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 22c7bb4a6062c2fcee8edd54e213cb242b24374d..14266ef8750af9e0745136d5499b856689dbbe9b 100644 (file)
@@ -1,3 +1,5 @@
 CONFIG_SPL=y
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_PEPPER=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 9379cf00d444cdc3cd00b4d51ee08c8f09e27b96..98d3199ccdf7984c866b0c27096df5a81e822b25 100644 (file)
@@ -1,2 +1,4 @@
 CONFIG_ARM=y
 CONFIG_TARGET_RPI=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 618e59080255dfded21fa4120bded96546cb2d87..33e6fb8848c2bb8b65c66f597241e49e7c5949a8 100644 (file)
@@ -2,3 +2,5 @@ CONFIG_ARM=y
 CONFIG_ARCH_S5PC1XX=y
 CONFIG_TARGET_S5P_GONI=y
 CONFIG_DEFAULT_DEVICE_TREE="s5pc1xx-goni"
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 660063ebf333ae666ff7f1898a67d036c20909ad..0bf5ea34d0c8fa125cfaa15d18932271457cadff 100644 (file)
@@ -5,3 +5,5 @@ CONFIG_FIT_VERBOSE=y
 CONFIG_FIT_SIGNATURE=y
 CONFIG_DM=y
 CONFIG_DEFAULT_DEVICE_TREE="sandbox"
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 041030f942f8e7a69e8d8096076f47c505d1e0e3..e933a329b62e00ae9dc0fdece52bd9a9da3a9d27 100644 (file)
@@ -2,3 +2,5 @@ CONFIG_ARM=y
 CONFIG_TARGET_SMDKC100=y
 CONFIG_ARCH_S5PC1XX=y
 CONFIG_DEFAULT_DEVICE_TREE="s5pc1xx-smdkc100"
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 035146c65755ad625b459494024bd2560d4db856..97c49f3363a6711a992fc2e7c0ea8fcb47f0ecfe 100644 (file)
@@ -4,3 +4,5 @@ CONFIG_TARGET_SNAPPER9260=y
 CONFIG_DM=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_SERIAL=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index 66c44ccf78aa9268e967b36f16af465802a18294..d5f1d9fa1969c0e8819e8cf854bb34f15686f7bc 100644 (file)
@@ -4,3 +4,5 @@ CONFIG_TARGET_SNAPPER9260=y
 CONFIG_DM=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_SERIAL=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
index a05e9917b65ecb40a83843c16f0165172bf99072..37b10ba89390a45dcf1160212376bf2cf706fc58 100644 (file)
@@ -1,3 +1,5 @@
 CONFIG_SYS_EXTRA_OPTIONS="stv0991"
 CONFIG_ARM=y
 CONFIG_TARGET_STV0991=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x2000
index 0eeac985a7ef500b91e28f81607fc8d5b7baacf3..80703116382c75eb97495b69001188ad7122888c 100644 (file)
 #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 */
index 2c4f35af9fe3ea372ecab49cc772489e1ca83a6c..59676ae61b8f10fdc404f63a816857636afd465f 100644 (file)
@@ -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 */
index 6e4f1264d95764e639775ea6560d27ac88823901..91afb15802b8e1765637d8372251063b26af8e8a 100644 (file)
@@ -38,7 +38,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
index da010ebf17c36eb34ffcd5907ac945fa46b10948..6ee8f8a3d42337a1117cb70642ac64f32c13c4c2 100644 (file)
@@ -26,7 +26,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
index 70b6a2f25524ce86d1e47b1788cb3887b670a9dc..3948d6daac0d87610260719feab8b67e87d8611a 100644 (file)
 
 #define CONFIG_DM
 #define CONFIG_DM_THERMAL
-#define CONFIG_SYS_MALLOC_F_LEN        (1 << 10)
 #define CONFIG_IMX6_THERMAL
 
 #define CONFIG_CMD_FUSE
index 6e1f501b64d6fff108efbb746a806746212b3be7..46fc91e5e197bb4428c8b75c619c84ac2e3e3a9d 100644 (file)
@@ -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
index 0eb061138ad737f799d012d1af39f88d2ffb64f9..a96a3064f603e687a921b164377da75dfb73ad8f 100644 (file)
 #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
index ea19ad8d072cfdd7957f22e7af9cf3cbfea9790f..7ad8d080215d1065cf5cbcbe37c2c54f390465cb 100644 (file)
@@ -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
index 26167a4ece790f5d1b292b7db82c615726e2777f..8fadc682395916924bf5280d5481abeb2c1de9f8 100644 (file)
@@ -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))
 
 /*
index bff01708f68bbb83f0cbb0b18cec01acb1db9449..5c116508d0de2463eaa368062086d159562b7b1f 100644 (file)
@@ -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  */
 
index a7eb33ed43f4856c31f0c9f20cafa38082916353..080fc3a84599e30cbee4a292d0e7487921c4f15c 100644 (file)
@@ -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
  */
index 712f9b74ce43e519ecaec354009bba8f30acf8b7..6c685965a2cb8b476fd990ae8cfa3dc550a63b7e 100644 (file)
@@ -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
index fd9bd638c65575f23913b040f60799377f4c365c..071b1c2ca79e62828f46d790210285505f45e185 100644 (file)
@@ -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 */
index 0c5c18cb304e381af7fbcaa46ae14f458a692828..09889eeb4433c2f923074aacac49a54ea171d092 100644 (file)
@@ -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
 
 /*
index ef259802525cd6987879efcc812d0d452991b365..005fc6aeb374ab63498f0e635d08bf8448289c33 100644 (file)
@@ -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 */
 
index 4ce9d49c189ca86de1eda26ead9bd24a5d971513..20a55f4aa8270c47f78879663c49e87afa8c2250 100644 (file)
@@ -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>
index 77211de9a502c417cc8bc1962d56719a008704fe..840e108e053674088189b9ed9eda0e81d3d68b9b 100644 (file)
@@ -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 */
index 6f4ecc9b04c6d3f6e2adebbefe2059a7ef2da56f..3f738fb6420bdd14d7999d3def3619eff1da5a02 100644 (file)
@@ -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
  *----------------------------------------------------------------------*/
index 277a95c199a6185009a6e7aab553b0e34c3fbd07..994874ca600a00d060b7e6710e0ea3dd2e840331 100644 (file)
 #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