summaryrefslogtreecommitdiff
path: root/include/configs/maxbcm.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-11-25 06:37:00 (GMT)
committerStefan Roese <sr@denx.de>2016-01-14 13:08:59 (GMT)
commit6451223a8d1dc57cf0edc7f41799ec79468959c8 (patch)
tree6306c2811e990823363a157f960127d495ea84ac /include/configs/maxbcm.h
parentcdf1d240badefc787ef0dc440b9ea6554b97416b (diff)
downloadu-boot-6451223a8d1dc57cf0edc7f41799ec79468959c8.tar.xz
arm: mvebu: Add DM and OF_CONTROL support to SPL
This patch adds full DM support to the SPL on MVEBU. Currently only serial is supported. Other drivers will follow. This patch also adds the necessary config values for the DEBUG UART to the MVEBU defconfig files. This came in handy while implementing this DM support. Additionally, the mvebu specific SPL linker script is removed and this common one is used instead: arch/arm/cpu/u-boot-spl.lds This common linker script already handles all special cases. No need to reinvent the wheel for MVEBU here. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Dirk Eibach <dirk.eibach@gdsys.cc> Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/maxbcm.h')
-rw-r--r--include/configs/maxbcm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/maxbcm.h b/include/configs/maxbcm.h
index da49243..682ce76 100644
--- a/include/configs/maxbcm.h
+++ b/include/configs/maxbcm.h
@@ -91,9 +91,9 @@
#define CONFIG_SPL_BSS_START_ADDR (0x40000000 + (128 << 10))
#define CONFIG_SPL_BSS_MAX_SIZE (16 << 10)
-#define CONFIG_SYS_SPL_MALLOC_START (CONFIG_SPL_BSS_START_ADDR + \
- CONFIG_SPL_BSS_MAX_SIZE)
-#define CONFIG_SYS_SPL_MALLOC_SIZE (16 << 10)
+#ifdef CONFIG_SPL_BUILD
+#define CONFIG_SYS_MALLOC_SIMPLE
+#endif
#define CONFIG_SPL_STACK (0x40000000 + ((192 - 16) << 10))
#define CONFIG_SPL_BOOTROM_SAVE (CONFIG_SPL_STACK + 4)