mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
zynq-common: Add SPL SPI offset, size configs
Define CONFIG_SYS_SPI_ARGS_OFFS, CONFIG_SYS_SPI_ARGS_SIZE and CONFIG_SYS_SPI_KERNEL_OFFS which will be used in SPL spi mode. These macros defines the device tree offset, size and the kernel image offset in flash respectively. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
This commit is contained in:
parent
2775e91835
commit
8e0e01d330
1 changed files with 4 additions and 0 deletions
|
|
@ -355,6 +355,10 @@
|
|||
#define CONFIG_SPL_SPI_LOAD
|
||||
#define CONFIG_SPL_SPI_FLASH_SUPPORT
|
||||
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x100000
|
||||
#define CONFIG_SYS_SPI_ARGS_OFFS 0x200000
|
||||
#define CONFIG_SYS_SPI_ARGS_SIZE 0x80000
|
||||
#define CONFIG_SYS_SPI_KERNEL_OFFS (CONFIG_SYS_SPI_ARGS_OFFS + \
|
||||
CONFIG_SYS_SPI_ARGS_SIZE)
|
||||
#endif
|
||||
|
||||
/* for booting directly linux */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue