]> git.sur5r.net Git - u-boot/commitdiff
tegra114: dalmore: config: enable SPI
authorAllen Martin <amartin@nvidia.com>
Sat, 16 Mar 2013 18:58:14 +0000 (18:58 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 25 Mar 2013 16:56:07 +0000 (09:56 -0700)
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>
include/configs/dalmore.h

index b1a6e34ebad93b4c914002a1545f039d0f085d39..c7deea5350f71be2dfeeda5c0267e00858eecc78 100644 (file)
 
 #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 */