From: Allen Martin Date: Tue, 29 Jan 2013 13:51:29 +0000 (+0000) Subject: tegra: cardhu: config: enable SPI X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=d2f18f261b2b76e0f8697bec1f6d79df3254c373;p=u-boot.git tegra: cardhu: config: enable SPI Turn on SPI in cardhu config file Signed-off-by: Allen Martin Acked-by: Simon Glass Signed-off-by: Tom Warren --- diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h index aa725baf14..1616b39778 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 */