summaryrefslogtreecommitdiff
path: root/include/configs/cardhu.h
diff options
context:
space:
mode:
authorAllen Martin <amartin@nvidia.com>2013-01-29 13:51:29 +0000
committerTom Warren <twarren@nvidia.com>2013-02-11 10:35:25 -0700
commitd2f18f261b2b76e0f8697bec1f6d79df3254c373 (patch)
tree0c90bb36ee1d726f98fb97b7afb49ed7839bfbb6 /include/configs/cardhu.h
parentb19f57491a39542c9916367a9041199cb547d0e8 (diff)
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>
Diffstat (limited to 'include/configs/cardhu.h')
-rw-r--r--include/configs/cardhu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h
index aa725baf14f..1616b397789 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 */