Convert CONFIG_MTD_CONCAT to Kconfig
PATCH 1/1 Convert CONFIG_MTD_CONCAT to Kconfig
This converts the following to Kconfig:
CONFIG_MTD_CONCAT
Signed-off-by Chris Packham <[email protected]>
---
This touches octeontx_common.h but only to remove a line that is already commented out. Other than that etamin was the only board that had this enabled.
configs/etamin_defconfig | 1 + drivers/mtd/Kconfig | 8 ++++++++ include/configs/etamin.h | 1 - include/configs/octeontx_common.h | 1 - scripts/config_whitelist.txt | 1 - 5 files changed, 9 insertions(+), 3 deletions(-)
configs/etamin_defconfig +1 -0
@@ -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
drivers/mtd/Kconfig +8 -0
@@ -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
include/configs/etamin.h +0 -1
@@ -151,7 +151,6 @@#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 \
include/configs/octeontx_common.h +0 -1
@@ -64,7 +64,6 @@/** EMMC specific defines */ #if defined(CONFIG_NAND_OCTEONTX ) -/*#define CONFIG_MTD_CONCAT */ #define CONFIG_SYS_MAX_NAND_DEVICE 8#endif
scripts/config_whitelist.txt +0 -1
@@ -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
Signature · 1 line
2.36.0
Quoted 4 lines · Chris Packham
This converts the following to
Kconfig:
CONFIG_MTD_CONCATSigned-off-by Chris Packham <[email protected]>
Reviewed-by Tom Rini <[email protected]>
Signature · 1 line
Tom
Quoted 8 lines · Chris Packham
This converts the following to
Kconfig:
CONFIG_MTD_CONCATSigned-off-by Chris Packham <[email protected]>---
This touchesocteontx_common.hbut only to remove a line that is already commented out. Other than that etamin was the only board that had this enabled.
Reviewed-by Stefan Roese <[email protected]>
Thanks,
Stefan
Quoted 67 lines
configs/etamin_defconfig | 1 + drivers/mtd/Kconfig | 8 ++++++++ include/configs/etamin.h | 1 - include/configs/octeontx_common.h | 1 - scripts/config_whitelist.txt | 1 - 5 files changed, 9 insertions(+), 3 deletions(-)configs/etamin_defconfig +1
-0@@ -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=0x80000drivers/mtd/Kconfig +8
-0@@ -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 MTDinclude/configs/etamin.h +0
-1@@ -151,7 +151,6 @@#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 \include/configs/octeontx_common.h +0
-1@@ -64,7 +64,6 @@/** EMMC specific defines */ #if defined(CONFIG_NAND_OCTEONTX ) -/*#define CONFIG_MTD_CONCAT */ #define CONFIG_SYS_MAX_NAND_DEVICE 8#endif scripts/config_whitelist.txt +0
-0
scripts/config_whitelist.txt CONFIG_MMC_SUNXI_SLOT · line 394
Quoted 7 lines
scripts/config_whitelist.txt +0
-1@@ -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
Viele Grüße,
Stefan Roese
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
Quoted 6 lines · Chris Packham
This converts the following to
Kconfig:
CONFIG_MTD_CONCATSigned-off-by Chris Packham <[email protected]>Reviewed-by Tom Rini <[email protected]>Reviewed-by Stefan Roese <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom