summaryrefslogtreecommitdiffstats
path: root/include/configs/dalmore.h
diff options
context:
space:
mode:
authorAllen Martin <amartin@nvidia.com>2013-03-16 18:58:14 +0000
committerTom Warren <twarren@nvidia.com>2013-03-25 09:56:07 -0700
commitec37b2b423df552425d59a63763ce0c4773e57f8 (patch)
tree6398a5c51c67486f41ae4c73de66deb9fdf01fd1 /include/configs/dalmore.h
parent77c42e80b936cf44334a59a7890c775712f5b707 (diff)
downloadtalos-obmc-uboot-ec37b2b423df552425d59a63763ce0c4773e57f8.tar.gz
talos-obmc-uboot-ec37b2b423df552425d59a63763ce0c4773e57f8.zip
tegra114: dalmore: config: enable SPI
Turn on SPI in dalmore config file Signed-off-by: Allen Martin <amartin@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'include/configs/dalmore.h')
-rw-r--r--include/configs/dalmore.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/dalmore.h b/include/configs/dalmore.h
index b1a6e34eba..c7deea5350 100644
--- a/include/configs/dalmore.h
+++ b/include/configs/dalmore.h
@@ -54,6 +54,17 @@
#define MACH_TYPE_DALMORE 4304 /* not yet in mach-types.h */
+/* SPI */
+#define CONFIG_TEGRA114_SPI
+#define CONFIG_TEGRA114_SPI_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 */
OpenPOWER on IntegriCloud