aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDiego Dorta2017-07-07 15:38:34 -0300
committerStefano Babic2017-07-12 10:28:19 +0200
commit07f6ddb67a4bdd6cf2f3cdbb2518539537cbe0e1 (patch)
tree373711220efaff7097df94439cd9802010c5203a /include
parent283c2a65538ec62e2b0cd1664ae2eddfd9265036 (diff)
mx6sabreauto: Add Falcon mode support
Add support for Falcon mode and explain in the README the steps to boot the kernel directly without loading the full U-Boot. Signed-off-by: Diego Dorta <diego.dorta@nxp.com> Acked-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6sabreauto.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/mx6sabreauto.h b/include/configs/mx6sabreauto.h
index 1883eb0ba66..900e2a904b5 100644
--- a/include/configs/mx6sabreauto.h
+++ b/include/configs/mx6sabreauto.h
@@ -30,6 +30,20 @@
#include "mx6sabre_common.h"
+/* Falcon Mode */
+#ifdef CONFIG_SPL_OS_BOOT
+#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
+#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
+#define CONFIG_CMD_SPL
+#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
+#define CONFIG_CMD_SPL_WRITE_SIZE (128 * SZ_1K)
+
+/* Falcon Mode - MMC support: args@1MB kernel@2MB */
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x800 /* 1MB */
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
+#define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR 0x1000 /* 2MB */
+#endif
+
#ifdef CONFIG_MTD_NOR_FLASH
#define CONFIG_SYS_FLASH_BASE WEIM_ARB_BASE_ADDR
#define CONFIG_SYS_FLASH_SECT_SIZE (128 * 1024)