]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/xilinx_zynqmp.h
arm64: zynqmp: Add support for generic QSPI boot
[people/ms/u-boot.git] / include / configs / xilinx_zynqmp.h
index 1013885238ad9306d7aa36c14a55b08324dd11b3..9997fd095982fed4a58d7b25870e5b8c081c20ab 100644 (file)
 
 #define CONFIG_SPL_FRAMEWORK
 
+#if defined(CONFIG_SPL_SPI_FLASH_SUPPORT)
+# define CONFIG_SPL_SPI_LOAD
+# define CONFIG_SYS_SPI_KERNEL_OFFS    0x80000
+# define CONFIG_SYS_SPI_ARGS_OFFS      0xa0000
+# define CONFIG_SYS_SPI_ARGS_SIZE      0xa0000
+
+# define CONFIG_SYS_SPI_U_BOOT_OFFS    0x170000
+#endif
+
 /* u-boot is like dtb */
 #define CONFIG_SPL_FS_LOAD_ARGS_NAME   "u-boot.bin"
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x8000000