summaryrefslogtreecommitdiff
path: root/include/configs/colibri_imx7.h
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-11-10 16:39:27 -0800
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-02-01 15:15:21 +0100
commitdfa01e8a2827faea771f138119c8d62c9e1bf7b5 (patch)
tree767cba7c87c83360d3096ce45d27fe6ec6c4f05b /include/configs/colibri_imx7.h
parent6fe5177a1ab17fa971ac6c914676aa15c6402bcc (diff)
board: colibri_imx7: reserve DDR memory for Cortex-M4
i.MX 7's Cortex-M4 core can run from DDR and uses DDR memory for the rpmsg communication. Both use cases need a fixed location of memory reserved. For the rpmsg use case the reserved area needs to be in sync with the kernel's hardcoded vring descriptor location. Use the linux,usable-memory property to carve out 1MB of memory in case the M4 core is running. Also make sure that the i.MX 7 specific rpmsg driver does not get loaded in case we do not carve out memory. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'include/configs/colibri_imx7.h')
-rw-r--r--include/configs/colibri_imx7.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
index 2fe2422045..8716938034 100644
--- a/include/configs/colibri_imx7.h
+++ b/include/configs/colibri_imx7.h
@@ -361,6 +361,7 @@
#define CONFIG_MMCROOT "/dev/mmcblk0p2" /* USDHC1 */
#define CONFIG_OF_LIBFDT
+#define CONFIG_OF_BOARD_SETUP
#define CONFIG_OF_SYSTEM_SETUP
#define CONFIG_CMD_BOOTZ
#define CONFIG_SUPPORT_RAW_INITRD