]> git.sur5r.net Git - u-boot/commitdiff
am43xx: qspi: Fix config to select SPI mode
authorVignesh R <vigneshr@ti.com>
Wed, 10 Feb 2016 05:36:09 +0000 (11:06 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 15 Feb 2016 17:04:47 +0000 (12:04 -0500)
CONFIG_SF_DEFAULT_MODE is used to select default SPI mode when using
sf commands. Therefore fix am43xx to use CONFIG_SF_DEFAULT_MODE instead
of CONFIG_DEFAULT_SPI_MODE.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
include/configs/am43xx_evm.h

index c3867efe9a0ff3dae77be30faf68bfb48874c371..1428aa97b640ce2f6f4b214d28511ca7b746ad41 100644 (file)
 #define CONFIG_TI_SPI_MMAP
 #define CONFIG_QSPI_SEL_GPIO                   48
 #define CONFIG_SF_DEFAULT_SPEED                48000000
-#define CONFIG_DEFAULT_SPI_MODE                SPI_MODE_3
+#define CONFIG_SF_DEFAULT_MODE                 SPI_MODE_3
 #define CONFIG_QSPI_QUAD_SUPPORT
 #define CONFIG_TI_EDMA3