diff options
author | Marek Vasut <marex@denx.de> | 2015-07-21 05:50:03 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 12:14:08 (GMT) |
commit | 346d6f5667d3ab6e0a7b550d9789d3365a12478a (patch) | |
tree | 85e99361f11d39a1dc171536b14ea7bac3924297 /include | |
parent | d3f34e752dd432eb75e50b2f2ab44d0849b3deef (diff) | |
download | u-boot-346d6f5667d3ab6e0a7b550d9789d3365a12478a.tar.xz |
arm: socfpga: spl: Add support for booting from QSPI
Add code and configuration options to support booting from QSPI NOR.
Enable support for booting from QSPI NOR.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/socfpga_common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index c138080..c62c78a 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -301,6 +301,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void); #define CONFIG_SPL_WATCHDOG_SUPPORT #define CONFIG_SPL_SERIAL_SUPPORT #define CONFIG_SPL_MMC_SUPPORT +#define CONFIG_SPL_SPI_SUPPORT /* SPL SDMMC boot support */ #ifdef CONFIG_SPL_MMC_SUPPORT @@ -315,6 +316,14 @@ unsigned int cm_get_qspi_controller_clk_hz(void); #endif #endif +/* SPL QSPI boot support */ +#ifdef CONFIG_SPL_SPI_SUPPORT +#define CONFIG_DM_SEQ_ALIAS 1 +#define CONFIG_SPL_SPI_FLASH_SUPPORT +#define CONFIG_SPL_SPI_LOAD +#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x40000 +#endif + /* * Stack setup */ |