summaryrefslogtreecommitdiff
path: root/include/configs
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
parent93327f69769d9fe09ef25efd6ca9182f1095a417 (diff)
downloadu-boot-imx-2ecd779742e3eda5b8d1355b56ddc1ea836c8407.zip
u-boot-imx-2ecd779742e3eda5b8d1355b56ddc1ea836c8407.tar.gz
u-boot-imx-2ecd779742e3eda5b8d1355b56ddc1ea836c8407.tar.bz2
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')
-rw-r--r--include/configs/exynos-common.h5
-rw-r--r--include/configs/odroid.h2
-rw-r--r--include/configs/s5p_goni.h5
-rw-r--r--include/configs/smdkc100.h4
4 files changed, 10 insertions, 6 deletions
diff --git a/include/configs/exynos-common.h b/include/configs/exynos-common.h
index 54b61d7..371f32d 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
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index 07a2ff6..b928af8 100644
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
@@ -37,8 +37,6 @@
#define CONFIG_SYS_TEXT_BASE 0x43e00000
#include <linux/sizes.h>
-/* Size of malloc() pool */
-#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 * SZ_1M))
/* select serial console configuration */
#define CONFIG_SERIAL1
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index feb4d76..0c6e9c7 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
diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h
index 566028d..22835ff 100644
--- a/include/configs/smdkc100.h
+++ b/include/configs/smdkc100.h
@@ -47,6 +47,10 @@
* 1MB = 0x100000, 0x100000 = 1024 * 1024
*/
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (1 << 20))
+
+/* Small malloc pool before relocation */
+#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
+
/*
* select serial console configuration
*/