@ -246,18 +246,20 @@
# define CONFIG_MXS_SPI_DMA_ENABLE
# define CONFIG_MXS_SPI_DMA_ENABLE
# define CONFIG_SPI_HALF_DUPLEX
# define CONFIG_SPI_HALF_DUPLEX
# define CONFIG_DEFAULT_SPI_BUS 2
# define CONFIG_DEFAULT_SPI_BUS 2
# define CONFIG_DEFAULT_SPI_CS 0
# define CONFIG_DEFAULT_SPI_MODE SPI_MODE_0
# define CONFIG_DEFAULT_SPI_MODE SPI_MODE_0
/* SPI FLASH */
/* SPI FLASH */
# ifdef CONFIG_CMD_SF
# ifdef CONFIG_CMD_SF
# define CONFIG_SPI_FLASH
# define CONFIG_SPI_FLASH
# define CONFIG_SPI_FLASH_STMICRO
# define CONFIG_SPI_FLASH_STMICRO
# define CONFIG_SF_DEFAULT_C S 2
# define CONFIG_SF_DEFAULT_BU S 2
# define CONFIG_SF_DEFAULT_MODE SPI_MODE_ 0
# define CONFIG_SF_DEFAULT_CS 0
# define CONFIG_SF_DEFAULT_SPEED 40000000
# define CONFIG_SF_DEFAULT_SPEED 40000000
# define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
# define CONFIG_ENV_SPI_CS 0
# define CONFIG_ENV_SPI_BUS 2
# define CONFIG_ENV_SPI_BUS 2
# define CONFIG_ENV_SPI_CS 0
# define CONFIG_ENV_SPI_MAX_HZ 40000000
# define CONFIG_ENV_SPI_MAX_HZ 40000000
# define CONFIG_ENV_SPI_MODE SPI_MODE_0
# define CONFIG_ENV_SPI_MODE SPI_MODE_0
# endif
# endif