]> git.sur5r.net Git - u-boot/commitdiff
sandbox: config: Enable pre-relocation malloc()
authorSimon Glass <sjg@chromium.org>
Fri, 11 Jul 2014 04:23:32 +0000 (22:23 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 13:06:17 +0000 (14:06 +0100)
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

index 12b69d9a249f08d4991189c2a28cb2bd02eb8ee6..bf2d25c87127db793f62e8f5e3699c243140c09b 100644 (file)
 #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