diff options
author | Diego Dorta <diego.dorta@nxp.com> | 2017-07-07 15:38:34 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-07-12 10:28:19 +0200 |
commit | 07f6ddb67a4bdd6cf2f3cdbb2518539537cbe0e1 (patch) | |
tree | 373711220efaff7097df94439cd9802010c5203a /include/configs/mx6sabreauto.h | |
parent | 283c2a65538ec62e2b0cd1664ae2eddfd9265036 (diff) | |
download | u-boot-07f6ddb67a4bdd6cf2f3cdbb2518539537cbe0e1.zip u-boot-07f6ddb67a4bdd6cf2f3cdbb2518539537cbe0e1.tar.gz u-boot-07f6ddb67a4bdd6cf2f3cdbb2518539537cbe0e1.tar.bz2 |
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/configs/mx6sabreauto.h')
-rw-r--r-- | include/configs/mx6sabreauto.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/mx6sabreauto.h b/include/configs/mx6sabreauto.h index 1883eb0..900e2a9 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) |