From: Jagannadha Sutradharudu Teki Date: Tue, 6 Aug 2013 19:42:06 +0000 (+0530) Subject: zynq: Enable CONFIG_ZYNQ_SPI X-Git-Tag: v2013.10-rc1~39^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=097dc6c7ec08e789666a674c10e6d569e0b96e62;p=oweals%2Fu-boot.git zynq: Enable CONFIG_ZYNQ_SPI Tested spi on zynq board with sst flash by enabling CONFIG_ZYNQ_SPI. sf probe 1:1 0 0 SF: Detected SST25WF080 with page size 4 KiB, total 1 MiB Signed-off-by: Jagannadha Sutradharudu Teki Acked-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- diff --git a/include/configs/zynq.h b/include/configs/zynq.h index 79fa5bb53f..b9f381f645 100644 --- a/include/configs/zynq.h +++ b/include/configs/zynq.h @@ -72,6 +72,15 @@ # define CONFIG_CPU_V6 /* Required by CONFIG_ARM_DCC */ #endif +#define CONFIG_ZYNQ_SPI + +/* SPI */ +#ifdef CONFIG_ZYNQ_SPI +# define CONFIG_SPI_FLASH +# define CONFIG_SPI_FLASH_SST +# define CONFIG_CMD_SF +#endif + /* Enable the PL to be downloaded */ #define CONFIG_FPGA #define CONFIG_FPGA_XILINX