aboutsummaryrefslogtreecommitdiff
path: root/include/configs/s5p_goni.h
diff options
context:
space:
mode:
authorSimon Glass2014-10-07 22:01:52 -0600
committerMinkyu Kang2014-10-08 17:25:48 +0900
commit2ecd779742e3eda5b8d1355b56ddc1ea836c8407 (patch)
treee81ad3d88abad9bff96404b9f4a5574b02888b82 /include/configs/s5p_goni.h
parent93327f69769d9fe09ef25efd6ca9182f1095a417 (diff)
exynos: Enable pre-relocation malloc()
Enable this feature to support driver model before relocation. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/s5p_goni.h')
-rw-r--r--include/configs/s5p_goni.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index feb4d7670b6..0c6e9c78784 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -39,8 +39,9 @@
#define CONFIG_INITRD_TAG
#define CONFIG_CMDLINE_EDITING
-/* Size of malloc() pool.*/
-#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 80 * SZ_1M)
+/* Size of malloc() pool before and after relocation */
+#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
+#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 << 20))
/*
* select serial console configuration