]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
microblaze: Use malloc setting via Kconfig
authorMichal Simek <michal.simek@xilinx.com>
Tue, 8 Dec 2015 13:45:54 +0000 (14:45 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 18 Dec 2015 12:15:58 +0000 (13:15 +0100)
Clean board specific file.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/microblaze-generic_defconfig
include/configs/microblaze-generic.h

index 1fe2e0fed37f95773ae8b745d50be385fabfbc9d..98391c8c6d4d6bb2b3de54b23f0079d686a2bc37 100644 (file)
@@ -1,4 +1,6 @@
 CONFIG_MICROBLAZE=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_TARGET_MICROBLAZE_GENERIC=y
 CONFIG_DEFAULT_DEVICE_TREE="microblaze-generic"
 CONFIG_SPL=y
index a48c8d60948e56210004c7f210e4c8086404cc8b..e0bc41c874a1a19fde2b17e47a29cd18addd3d37 100644 (file)
 #endif
 
 #define CONFIG_SYS_MALLOC_LEN  0xC0000
-#ifndef CONFIG_SPL_BUILD
-# define CONFIG_SYS_MALLOC_F_LEN       1024
-#else
-# define CONFIG_SYS_MALLOC_SIMPLE
-# define CONFIG_SYS_MALLOC_F_LEN       0x150
-#endif
 
 /* Stack location before relocation */
 #define CONFIG_SYS_INIT_SP_OFFSET      (CONFIG_SYS_TEXT_BASE - \