summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-10 22:23:32 -0600
committerSimon Glass <sjg@chromium.org>2014-07-23 14:06:17 +0100
commitb53e94b1329fd8b4fbd128f0a07a060a7c2e2149 (patch)
tree18570f2a15a513dc96a9f0fd55ffe84616b581fd /include
parent29afe9e6edc7a817a055de27e98e8d33aad683a2 (diff)
downloadu-boot-imx-b53e94b1329fd8b4fbd128f0a07a060a7c2e2149.zip
u-boot-imx-b53e94b1329fd8b4fbd128f0a07a060a7c2e2149.tar.gz
u-boot-imx-b53e94b1329fd8b4fbd128f0a07a060a7c2e2149.tar.bz2
sandbox: config: Enable pre-relocation malloc()
Enable this for sandbox so that we will be able to use driver model before relocation. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sandbox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 12b69d9..bf2d25c 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -68,8 +68,10 @@
#define CONFIG_EFI_PARTITION
/*
- * Size of malloc() pool, although we don't actually use this yet.
+ * Size of malloc() pool, before and after relocation
*/
+#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
+#define CONFIG_MALLOC_F_ADDR 0x0010000
#define CONFIG_SYS_MALLOC_LEN (32 << 20) /* 32MB */
#define CONFIG_SYS_HUSH_PARSER