summaryrefslogtreecommitdiffstats
path: root/include/configs/exynos-common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-07 22:01:52 -0600
committerMinkyu Kang <mk7.kang@samsung.com>2014-10-08 17:25:48 +0900
commit2ecd779742e3eda5b8d1355b56ddc1ea836c8407 (patch)
treee81ad3d88abad9bff96404b9f4a5574b02888b82 /include/configs/exynos-common.h
parent93327f69769d9fe09ef25efd6ca9182f1095a417 (diff)
downloadtalos-obmc-uboot-2ecd779742e3eda5b8d1355b56ddc1ea836c8407.tar.gz
talos-obmc-uboot-2ecd779742e3eda5b8d1355b56ddc1ea836c8407.zip
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/exynos-common.h')
-rw-r--r--include/configs/exynos-common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/exynos-common.h b/include/configs/exynos-common.h
index 54b61d71a5..371f32d840 100644
--- a/include/configs/exynos-common.h
+++ b/include/configs/exynos-common.h
@@ -38,8 +38,9 @@
#define CONFIG_CMDLINE_EDITING
#define CONFIG_ENV_OVERWRITE
-/* 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 */
#define CONFIG_BAUDRATE 115200
OpenPOWER on IntegriCloud