diff options
author | Karicheri, Muralidharan <m-karicheri2@ti.com> | 2014-04-04 13:16:55 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-04-17 17:24:39 -0400 |
commit | 56f624d06a1bea4e592e32be66821e3d9a43539e (patch) | |
tree | 98f083979a6b5da1092eea718b03c35028758feb /include/configs | |
parent | 2bcdf84d5820320724932199fddeed32d2d49e4a (diff) | |
download | u-boot-imx-56f624d06a1bea4e592e32be66821e3d9a43539e.zip u-boot-imx-56f624d06a1bea4e592e32be66821e3d9a43539e.tar.gz u-boot-imx-56f624d06a1bea4e592e32be66821e3d9a43539e.tar.bz2 |
k2hk-evm: add configuration for spi1 and spi2 support
currently only spi0 is enabled on k2hk evm. This
configuration update is needed to enable spi1 and spi2.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Acked-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/k2hk_evm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/k2hk_evm.h b/include/configs/k2hk_evm.h index 9d0ba24..28a6d72 100644 --- a/include/configs/k2hk_evm.h +++ b/include/configs/k2hk_evm.h @@ -81,7 +81,16 @@ #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_STMICRO #define CONFIG_DAVINCI_SPI +#define CONFIG_SYS_SPI0 #define CONFIG_SYS_SPI_BASE K2HK_SPI_BASE +#define CONFIG_SYS_SPI0_NUM_CS 4 +#define CONFIG_SYS_SPI1 +#define CONFIG_SYS_SPI1_BASE K2HK_SPI1_BASE +#define CONFIG_SYS_SPI1_NUM_CS 4 +#define CONFIG_SYS_SPI2 +#define CONFIG_SYS_SPI2_NUM_CS 4 +#define CONFIG_SYS_SPI2_BASE K2HK_SPI2_BASE +#define CONFIG_CMD_SPI #define CONFIG_SYS_SPI_CLK clk_get_rate(K2HK_LPSC_EMIF25_SPI) #define CONFIG_SF_DEFAULT_SPEED 30000000 #define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED |