Convert CONFIG_CMD_DIAG to Kconfig
[platform/kernel/u-boot.git] / include / configs / km / km_arm.h
index 56d3f02..0c5f6e7 100644 (file)
 #define CONFIG_CMD_MTDPARTS
 
 /*
- * Without NOR FLASH we need this
- */
-#define CONFIG_SYS_NO_FLASH
-
-/*
  * NAND Flash configuration
  */
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
@@ -292,7 +287,7 @@ int get_scl(void);
        "arch=arm\0"                                                    \
        ""
 
-#if defined(CONFIG_SYS_NO_FLASH)
+#if !defined(CONFIG_MTD_NOR_FLASH)
 #undef CONFIG_FLASH_CFI_MTD
 #undef CONFIG_JFFS2_CMDLINE
 #endif
@@ -315,7 +310,6 @@ int get_scl(void);
 #define CONFIG_POST    (CONFIG_SYS_POST_MEM_REGIONS)
 #define CONFIG_POST_SKIP_ENV_FLAGS
 #define CONFIG_POST_EXTERNAL_WORD_FUNCS
-#define CONFIG_CMD_DIAG
 
 /* we do the whole PCIe FPGA config stuff here */