[U-Boot] [RFC PATCH 11/22] sandbox: config: Enable pre-relocation malloc()

Simon Glass
2014-05-24T21:21:10Z

Enable this for sandbox so that we will be able to use driver model before
relocation.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

include/configs/sandbox.h | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index fdc8b75..86ee70f 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -115,6 +115,10 @@
#define CONFIG_SYS_MONITOR_BASE 0
#define CONFIG_NR_DRAM_BANKS 1

+#define CONFIG_SYS_MALLOC_F_LEN 1024
+#define CONFIG_SYS_MALLOC_F_BASE (CONFIG_SYS_SDRAM_SIZE - \
+ CONFIG_SYS_MALLOC_F_LEN)
+
#define CONFIG_BAUDRATE 115200
#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\
115200}
--
1.9.1.423.g4596e3a