From: Jagan Teki Date: Mon, 17 Aug 2015 13:25:02 +0000 (+0530) Subject: zynq-common: Enable zynq qspi controller support X-Git-Tag: v2016.01-rc1~155^2~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a241d4ecab6f6e10336e91bbd317feeb0ff73941;p=u-boot zynq-common: Enable zynq qspi controller support This patch adds support for zynq qspi controller driver on zynq-common.h Signed-off-by: Jagan Teki Cc: Simon Glass Cc: Siva Durga Prasad Paladugu Acked-by: Michal Simek Tested-by: Jagan Teki --- diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 66b1e699c8..3910ae9a70 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -72,6 +72,15 @@ # define CONFIG_CMD_SF #endif +/* QSPI */ +#ifdef CONFIG_ZYNQ_QSPI +# define CONFIG_SF_DEFAULT_SPEED 30000000 +# define CONFIG_SPI_FLASH_SPANSION +# define CONFIG_SPI_FLASH_STMICRO +# define CONFIG_SPI_FLASH_WINBOND +# define CONFIG_CMD_SF +#endif + /* NOR */ #ifndef CONFIG_SYS_NO_FLASH # define CONFIG_SYS_FLASH_BASE 0xE2000000