diff options
author | Allen Martin <amartin@nvidia.com> | 2013-01-29 13:51:29 +0000 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2013-02-11 10:35:25 -0700 |
commit | d2f18f261b2b76e0f8697bec1f6d79df3254c373 (patch) | |
tree | 0c90bb36ee1d726f98fb97b7afb49ed7839bfbb6 | |
parent | b19f57491a39542c9916367a9041199cb547d0e8 (diff) | |
download | u-boot-imx-d2f18f261b2b76e0f8697bec1f6d79df3254c373.zip u-boot-imx-d2f18f261b2b76e0f8697bec1f6d79df3254c373.tar.gz u-boot-imx-d2f18f261b2b76e0f8697bec1f6d79df3254c373.tar.bz2 |
tegra: cardhu: config: enable SPI
Turn on SPI in cardhu config file
Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r-- | include/configs/cardhu.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h index aa725ba..1616b39 100644 --- a/include/configs/cardhu.h +++ b/include/configs/cardhu.h @@ -49,6 +49,17 @@ #define CONFIG_ENV_IS_NOWHERE +/* SPI */ +#define CONFIG_TEGRA_SLINK +#define CONFIG_TEGRA_SLINK_CTRLS 6 +#define CONFIG_SPI_FLASH +#define CONFIG_SPI_FLASH_WINBOND +#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0 +#define CONFIG_SF_DEFAULT_SPEED 24000000 +#define CONFIG_CMD_SPI +#define CONFIG_CMD_SF +#define CONFIG_SPI_FLASH_SIZE (4 << 20) + #include "tegra-common-post.h" #endif /* __CONFIG_H */ |