summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-23 00:07:25 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-24 00:15:35 +0900
commit499785b970a36a0c8de9bf4e5edf07455dc5b9bc (patch)
tree2f76977362eb65614ac58f97731b3d10ced42fa4 /include
parenta286039b13d5bbcee0a0525e44f564f82aa0e636 (diff)
downloadu-boot-imx-499785b970a36a0c8de9bf4e5edf07455dc5b9bc.zip
u-boot-imx-499785b970a36a0c8de9bf4e5edf07455dc5b9bc.tar.gz
u-boot-imx-499785b970a36a0c8de9bf4e5edf07455dc5b9bc.tar.bz2
ARM: UniPhier: enable Driver Model and UART on SPL
Enable CONFIG_SPL_DM and CONFIG_SPL_SERIAL_SUPPORT, which provide Driver Model UART support on SPL. CONFIG_SYS_SPL_MALLOC_{START,SIZE} should be dropped because simple malloc is preferred on SPL. Dlmalloc requires some static variables on .data section that is not available yet for NOR boot mode etc. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/uniphier.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 58608ca..c27010a 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -280,9 +280,6 @@
#define CONFIG_SKIP_LOWLEVEL_INIT
#endif
-#define CONFIG_SYS_SPL_MALLOC_START (0x0ff00000)
-#define CONFIG_SYS_SPL_MALLOC_SIZE (0x00004000)
-
#ifdef CONFIG_SPL_BUILD
#define CONFIG_SYS_INIT_SP_ADDR (0x0ff08000)
#else
@@ -292,6 +289,7 @@
#define CONFIG_PANIC_HANG
#define CONFIG_SPL_FRAMEWORK
+#define CONFIG_SPL_SERIAL_SUPPORT
#define CONFIG_SPL_NAND_SUPPORT
#define CONFIG_SPL_LIBCOMMON_SUPPORT /* for mem_malloc_init */