]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_MTD_CONCAT to Kconfig
authorChris Packham <judge.packham@gmail.com>
Tue, 3 May 2022 09:24:57 +0000 (21:24 +1200)
committerTom Rini <trini@konsulko.com>
Wed, 11 May 2022 13:22:24 +0000 (09:22 -0400)
This converts the following to Kconfig:
  CONFIG_MTD_CONCAT

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefan Roese <sr@denx.de>
configs/etamin_defconfig
drivers/mtd/Kconfig
include/configs/etamin.h
include/configs/octeontx_common.h
scripts/config_whitelist.txt

index ba7a0665dedba24b84154a83883a0a7e9418da46..34b9fff5ded2e6f124144a73ab5b00660b1cd8eb 100644 (file)
@@ -87,6 +87,7 @@ CONFIG_SPL_SYS_I2C_LEGACY=y
 # CONFIG_SPL_DM_MMC is not set
 CONFIG_MMC_OMAP_HS=y
 CONFIG_MTD=y
+CONFIG_MTD_CONCAT=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_OMAP_ECCSCHEME_BCH16_CODE_HW=y
 CONFIG_SYS_NAND_BLOCK_SIZE=0x80000
index 588ebe9119b98cfba3ff3c8b1bcdac1061656828..4088267dd111d5bf453746984131c0529673a5f9 100644 (file)
@@ -22,6 +22,14 @@ config MTD_NOR_FLASH
        help
          Enable support for parallel NOR flash.
 
+config MTD_CONCAT
+       bool "Enable MTD device concatenation"
+       depends on MTD
+       help
+         Enable support for concatenating multiple physical MTD devices
+         into a single logical device. The larger logical device can then
+         be partitioned.
+
 config SYS_MTDPARTS_RUNTIME
        bool "Allow MTDPARTS to be configured at runtime"
        depends on MTD
index dc83ab71908b4fee5d7ba9015a122c58128a1ff4..9cf93924df938ac1503bbaac7115ef411dd647ce 100644 (file)
 #define ETAMIN_NAND_GPMC_CONFIG4       0x16051807
 #define ETAMIN_NAND_GPMC_CONFIG5       0x00151e1e
 #define ETAMIN_NAND_GPMC_CONFIG6       0x16000f80
-#define CONFIG_MTD_CONCAT
 
 /* Default env settings */
 #define CONFIG_EXTRA_ENV_SETTINGS \
index bcf8b41cfb63e3b02a2565220ed609aba366690e..81dbff2d672fc76f2a4dbc70e0d4b65f968d2b8e 100644 (file)
@@ -64,7 +64,6 @@
 /** EMMC specific defines */
 
 #if defined(CONFIG_NAND_OCTEONTX)
-/*#define CONFIG_MTD_CONCAT */
 #define CONFIG_SYS_MAX_NAND_DEVICE 8
 #endif
 
index 5b882b2670cad1b9136a2a107725a9f5e532426f..cecdda678191f182f5b615a32d27e1e219643308 100644 (file)
@@ -389,7 +389,6 @@ CONFIG_MMC_SUNXI_SLOT
 CONFIG_MONITOR_IS_IN_RAM
 CONFIG_MPC85XX_FEC
 CONFIG_MPC85XX_FEC_NAME
-CONFIG_MTD_CONCAT
 CONFIG_MTD_NAND_VERIFY_WRITE
 CONFIG_MTD_PARTITION
 CONFIG_MVGBE_PORTS