From: Siva Durga Prasad Paladugu Date: Mon, 14 Sep 2015 07:29:08 +0000 (+0530) Subject: zynq-common: Add SPL SPI offset, size configs X-Git-Tag: v2016.01-rc1~155^2~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8e0e01d330e76ec2b8db4da3fa5cb425603507f9;p=u-boot 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 Reviewed-by: Jagan Teki --- diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index acb8670b33..ca5ef04302 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 */