Re: [U-Boot] [PATCH v3 8/9] sandbox: config: Enable pre-relocation malloc()

2014-07-26 Thread Simon Glass
On 11 July 2014 05:23, Simon Glass s...@chromium.org wrote:
 Enable this for sandbox so that we will be able to use driver model before
 relocation.

 Signed-off-by: Simon Glass s...@chromium.org

Applied to dm/master.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v3 8/9] sandbox: config: Enable pre-relocation malloc()

2014-07-10 Thread Simon Glass
Enable this for sandbox so that we will be able to use driver model before
relocation.

Signed-off-by: Simon Glass s...@chromium.org
---

Changes in v3:
- Put the two CONFIG changes together in sandbox.h

Changes in v2: None

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

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   0x001
 #define CONFIG_SYS_MALLOC_LEN  (32  20)  /* 32MB  */
 
 #define CONFIG_SYS_HUSH_PARSER
-- 
2.0.0.526.g5318336

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot