microblaze: Use malloc setting via Kconfig
Clean board specific file. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4fcd0b33c7
commit
4de9bbdcc8
|
@ -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
|
||||
|
|
|
@ -113,12 +113,6 @@
|
|||
#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 - \
|
||||
|
|
Loading…
Reference in a new issue