summaryrefslogtreecommitdiff
path: root/include/configs/zynq-common.h
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <sivadur@xilinx.com>2015-09-14 07:29:08 (GMT)
committerJagan Teki <jteki@openedev.com>2015-10-25 14:47:03 (GMT)
commit8e0e01d330e76ec2b8db4da3fa5cb425603507f9 (patch)
tree5723a0df861af7c3133eb35d9ff5dd0e18865477 /include/configs/zynq-common.h
parent2775e91835638031d1134176d536ac2946fc5e6b (diff)
downloadu-boot-fsl-qoriq-8e0e01d330e76ec2b8db4da3fa5cb425603507f9.tar.xz
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>
Diffstat (limited to 'include/configs/zynq-common.h')
-rw-r--r--include/configs/zynq-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index acb8670..ca5ef04 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -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 */