Convert CONFIG_MTD_PARTITIONS et al to Kconfig
[oweals/u-boot.git] / include / configs / M54418TWR.h
index ba9ba0069868f452f19313185d6b3493bb5799d5..a9d456c50b5a2dce35c73f0a3cd0a42accb4cb1c 100644 (file)
@@ -1,10 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Configuation settings for the Freescale MCF54418 TWR board.
  *
  * Copyright 2010-2012 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
@@ -85,7 +84,7 @@
 #endif                 /* CONFIG_SYS_DISCOVER_PHY */
 #endif
 
-#define CONFIG_HOSTNAME                M54418TWR
+#define CONFIG_HOSTNAME                "M54418TWR"
 
 #if defined(CONFIG_CF_SBF)
 /* ST Micro serial flash */
 #ifdef CONFIG_CMD_JFFS2
 #define CONFIG_JFFS2_DEV               "nand0"
 #define CONFIG_JFFS2_PART_OFFSET       (0x800000)
-#define CONFIG_MTD_DEVICE
 
 #endif
 
-#ifdef CONFIG_CMD_UBI
-#define CONFIG_MTD_DEVICE      /* needed for mtdparts command */
-#define CONFIG_MTD_PARTITIONS  /* mtdparts and UBI support */
-#endif
 /* Cache Configuration */
 #define CONFIG_SYS_CACHELINE_SIZE      16
 #define ICACHE_STATUS                  (CONFIG_SYS_INIT_RAM_ADDR + \