drivers/mtd: Move conditional compilation to Makefile
[platform/kernel/u-boot.git] / include / configs / imx31_litekit.h
index 4281d73..c476333 100644 (file)
@@ -65,7 +65,8 @@
 
 #define CONFIG_HARD_SPI                1
 #define CONFIG_MXC_SPI         1
-#define CONFIG_MXC_SPI_IFACE   1
+#define CONFIG_DEFAULT_SPI_BUS 1
+#define CONFIG_DEFAULT_SPI_MODE        (SPI_MODE_2 | SPI_CS_HIGH)
 
 #define CONFIG_RTC_MC13783     1
 
  * CFI FLASH driver setup
  */
 #define CFG_FLASH_CFI          1       /* Flash memory is CFI compliant */
-#define CFG_FLASH_CFI_DRIVER   1       /* Use drivers/cfi_flash.c */
+#define CONFIG_FLASH_CFI_DRIVER        1       /* Use drivers/cfi_flash.c */
 #define CFG_FLASH_USE_BUFFER_WRITE 1   /* Use buffered writes (~10x faster) */
 #define CFG_FLASH_PROTECTION   1       /* Use hardware sector protection */