summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-07-21 07:50:03 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:08 +0200
commit346d6f5667d3ab6e0a7b550d9789d3365a12478a (patch)
tree85e99361f11d39a1dc171536b14ea7bac3924297 /include
parentd3f34e752dd432eb75e50b2f2ab44d0849b3deef (diff)
downloadtalos-obmc-uboot-346d6f5667d3ab6e0a7b550d9789d3365a12478a.tar.gz
talos-obmc-uboot-346d6f5667d3ab6e0a7b550d9789d3365a12478a.zip
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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index c1380807ec..c62c78ad8d 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
*/
OpenPOWER on IntegriCloud