summaryrefslogtreecommitdiff
path: root/include/configs/mx7dsabresd.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-03-26 13:30:49 -0300
committerStefano Babic <sbabic@denx.de>2016-04-03 19:16:39 +0200
commit6baa261615d3e3e05e2967120b6c329634791530 (patch)
tree9414aadf60f87683caef37228d2117f31dc290ce /include/configs/mx7dsabresd.h
parent01f512bc1196507eee3e6b4e7b5af551a8006fd3 (diff)
downloadu-boot-imx-6baa261615d3e3e05e2967120b6c329634791530.zip
u-boot-imx-6baa261615d3e3e05e2967120b6c329634791530.tar.gz
u-boot-imx-6baa261615d3e3e05e2967120b6c329634791530.tar.bz2
mx7_common: Define CONFIG_SYS_MALLOC_LEN in the board file
Having CONFIG_SYS_MALLOC_LEN in mx7_common.h is not a good idea, because the malloc() pool size is board dependent. For example: if a certain board has support for splashscreen or DFU, it may be necessary to adjust CONFIG_SYS_MALLOC_LEN to a larger value. So define CONFIG_SYS_MALLOC_LEN in each board config file. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include/configs/mx7dsabresd.h')
-rw-r--r--include/configs/mx7dsabresd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index 988d363..25ed29d 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -16,6 +16,9 @@
#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
+/* Size of malloc() pool */
+#define CONFIG_SYS_MALLOC_LEN (32 * SZ_1M)
+
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_BOARD_LATE_INIT