diff options
author | Tim Harvey <tharvey@gateworks.com> | 2015-05-08 18:28:42 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-05-21 19:07:17 +0200 |
commit | 53940a50797d4287af1c998a251170ef65927533 (patch) | |
tree | 8d6b73de232bf9856faf46f8fc7083da1d6af2f4 /include/configs | |
parent | 0d1ea05210f3221667f8085cf167f23f336ca0c0 (diff) | |
download | u-boot-imx-53940a50797d4287af1c998a251170ef65927533.zip u-boot-imx-53940a50797d4287af1c998a251170ef65927533.tar.gz u-boot-imx-53940a50797d4287af1c998a251170ef65927533.tar.bz2 |
imx: ventana: config: enable Falcon mode
Falcon mode entails the SPL booting the OS directly instead of U-Boot.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/gw_ventana.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index 533cbc3..7949b12 100644 --- a/include/configs/gw_ventana.h +++ b/include/configs/gw_ventana.h @@ -17,6 +17,22 @@ /* Location in NAND to read U-Boot from */ #define CONFIG_SYS_NAND_U_BOOT_OFFS (14 * SZ_1M) +/* Falcon Mode */ +#define CONFIG_CMD_SPL +#define CONFIG_SPL_OS_BOOT +#define CONFIG_SPL_ENV_SUPPORT +#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000 +#define CONFIG_CMD_SPL_WRITE_SIZE (128 * SZ_1K) + +/* Falcon Mode - NAND support: args@17MB kernel@18MB */ +#define CONFIG_CMD_SPL_NAND_OFS (17 * SZ_1M) +#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS (18 * SZ_1M) + +/* 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 */ + #include "imx6_spl.h" /* common IMX6 SPL configuration */ #include "mx6_common.h" #define CONFIG_MX6 |