diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-01-31 07:52:05 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-02-27 20:19:23 (GMT) |
commit | 373a1d8c0ee150bb3680722c5b888662e0e08291 (patch) | |
tree | d7bbea52a4d39c687311570b0e546b54af9cc655 /include/configs | |
parent | d5c37c9cc45ee400e0f53ba0e11edc88d6bd630b (diff) | |
download | u-boot-fsl-qoriq-373a1d8c0ee150bb3680722c5b888662e0e08291.tar.xz |
mx6q: mx6qsabrelite: Add ECSPI support to the Sabrelite platform
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Acked-by: Jason Liu <jason.hui@linaro.org>
Tested-by: Jason Liu <jason.hui@linaro.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx6qsabrelite.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h index d650ee3..bcb1a42 100644 --- a/include/configs/mx6qsabrelite.h +++ b/include/configs/mx6qsabrelite.h @@ -44,6 +44,15 @@ #define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART2_BASE +#define CONFIG_CMD_SF +#ifdef CONFIG_CMD_SF +#define CONFIG_SPI_FLASH +#define CONFIG_SPI_FLASH_SST +#define CONFIG_MXC_SPI +#define CONFIG_SF_DEFAULT_SPEED 25000000 +#define CONFIG_SF_DEFAULT_MODE (SPI_MODE_0) +#endif + /* MMC Configs */ #define CONFIG_FSL_ESDHC #define CONFIG_FSL_USDHC |