[U-Boot] [PATCH 05/41] Convert CONFIG_CMD_MTDPARTS to Kconfig

Bin Meng bmeng.cn at gmail.com
Sat Jul 22 15:05:30 UTC 2017


Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg at chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_MTDPARTS
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  README                                          | 1 -
>  arch/arm/Kconfig                                | 3 +++
>  arch/arm/cpu/armv7/vf610/Kconfig                | 1 +
>  arch/powerpc/cpu/mpc83xx/Kconfig                | 1 +
>  arch/powerpc/cpu/mpc85xx/Kconfig                | 9 +++++++++
>  board/micronas/vct/Kconfig                      | 1 +
>  cmd/Kconfig                                     | 1 -
>  configs/BSC9131RDB_NAND_SYSCLK100_defconfig     | 1 +
>  configs/BSC9131RDB_NAND_defconfig               | 1 +
>  configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig | 1 +
>  configs/BSC9131RDB_SPIFLASH_defconfig           | 1 +
>  configs/MPC8315ERDB_defconfig                   | 1 +
>  configs/P1020RDB-PD_NAND_defconfig              | 1 +
>  configs/P1020RDB-PD_SDCARD_defconfig            | 1 +
>  configs/P1020RDB-PD_SPIFLASH_defconfig          | 1 +
>  configs/P1020RDB-PD_defconfig                   | 1 +
>  configs/T2080QDS_NAND_defconfig                 | 1 +
>  configs/T2080QDS_SDCARD_defconfig               | 1 +
>  configs/T2080QDS_SECURE_BOOT_defconfig          | 1 +
>  configs/T2080QDS_SPIFLASH_defconfig             | 1 +
>  configs/T2080QDS_defconfig                      | 1 +
>  configs/T2080RDB_NAND_defconfig                 | 1 +
>  configs/T2080RDB_SDCARD_defconfig               | 1 +
>  configs/T2080RDB_SECURE_BOOT_defconfig          | 1 +
>  configs/T2080RDB_SPIFLASH_defconfig             | 1 +
>  configs/T2080RDB_defconfig                      | 1 +
>  configs/T2081QDS_NAND_defconfig                 | 1 +
>  configs/T2081QDS_SDCARD_defconfig               | 1 +
>  configs/T2081QDS_SPIFLASH_defconfig             | 1 +
>  configs/T2081QDS_defconfig                      | 1 +
>  configs/TQM834x_defconfig                       | 1 +
>  configs/TWR-P1025_defconfig                     | 1 +
>  configs/am335x_evm_defconfig                    | 1 +
>  configs/am335x_evm_nor_defconfig                | 1 +
>  configs/am335x_evm_norboot_defconfig            | 1 +
>  configs/am335x_evm_spiboot_defconfig            | 1 +
>  configs/am335x_evm_usbspl_defconfig             | 1 +
>  configs/am335x_hs_evm_defconfig                 | 3 +--
>  configs/am43xx_evm_defconfig                    | 1 +
>  configs/am43xx_evm_ethboot_defconfig            | 1 +
>  configs/am43xx_evm_usbhost_boot_defconfig       | 1 +
>  configs/am43xx_hs_evm_defconfig                 | 1 +
>  configs/ap121_defconfig                         | 1 +
>  configs/ap143_defconfig                         | 1 +
>  configs/at91sam9n12ek_mmc_defconfig             | 1 +
>  configs/at91sam9n12ek_nandflash_defconfig       | 1 +
>  configs/at91sam9n12ek_spiflash_defconfig        | 1 +
>  configs/brppt1_nand_defconfig                   | 1 +
>  configs/brppt1_spi_defconfig                    | 1 +
>  configs/cairo_defconfig                         | 1 +
>  configs/chiliboard_defconfig                    | 1 +
>  configs/cm_fx6_defconfig                        | 1 +
>  configs/cm_t335_defconfig                       | 1 +
>  configs/cm_t3517_defconfig                      | 1 +
>  configs/cm_t35_defconfig                        | 1 +
>  configs/cm_t43_defconfig                        | 1 +
>  configs/corvus_defconfig                        | 1 +
>  configs/devkit8000_defconfig                    | 1 +
>  configs/flea3_defconfig                         | 1 +
>  configs/imx6q_logic_defconfig                   | 1 +
>  configs/k2e_evm_defconfig                       | 5 ++---
>  configs/k2g_evm_defconfig                       | 6 +++---
>  configs/k2hk_evm_defconfig                      | 5 ++---
>  configs/k2l_evm_defconfig                       | 5 ++---
>  configs/mccmon6_nor_defconfig                   | 1 +
>  configs/mccmon6_sd_defconfig                    | 1 +
>  configs/mx35pdk_defconfig                       | 1 +
>  configs/omap3_beagle_defconfig                  | 1 +
>  configs/omap3_ha_defconfig                      | 1 +
>  configs/omap3_zoom1_defconfig                   | 1 +
>  configs/pengwyn_defconfig                       | 1 +
>  configs/smartweb_defconfig                      | 1 +
>  configs/smdkc100_defconfig                      | 1 +
>  configs/tao3530_defconfig                       | 1 +
>  configs/taurus_defconfig                        | 1 +
>  configs/ti816x_evm_defconfig                    | 6 +-----
>  configs/woodburn_defconfig                      | 1 +
>  configs/woodburn_sd_defconfig                   | 1 +
>  drivers/mtd/ubi/Kconfig                         | 1 +
>  include/config_cmd_all.h                        | 1 -
>  include/configs/BSC9131RDB.h                    | 1 -
>  include/configs/BSC9132QDS.h                    | 1 -
>  include/configs/M54418TWR.h                     | 2 --
>  include/configs/MPC8313ERDB.h                   | 1 -
>  include/configs/MPC8315ERDB.h                   | 1 -
>  include/configs/P1010RDB.h                      | 1 -
>  include/configs/P1022DS.h                       | 1 -
>  include/configs/T102xQDS.h                      | 1 -
>  include/configs/T102xRDB.h                      | 1 -
>  include/configs/T1040QDS.h                      | 1 -
>  include/configs/T104xRDB.h                      | 1 -
>  include/configs/T208xQDS.h                      | 1 -
>  include/configs/T208xRDB.h                      | 1 -
>  include/configs/TQM834x.h                       | 1 -
>  include/configs/am3517_evm.h                    | 1 -
>  include/configs/ap121.h                         | 1 -
>  include/configs/ap143.h                         | 1 -
>  include/configs/apf27.h                         | 1 -
>  include/configs/apx4devkit.h                    | 1 -
>  include/configs/aristainetos-common.h           | 1 -
>  include/configs/at91sam9n12ek.h                 | 1 -
>  include/configs/at91sam9x5ek.h                  | 1 -
>  include/configs/baltos.h                        | 1 -
>  include/configs/brppt1.h                        | 1 -
>  include/configs/cm_fx6.h                        | 1 -
>  include/configs/cm_t35.h                        | 1 -
>  include/configs/cm_t3517.h                      | 1 -
>  include/configs/colibri_imx7.h                  | 1 -
>  include/configs/colibri_t20.h                   | 1 -
>  include/configs/colibri_vf.h                    | 1 -
>  include/configs/corvus.h                        | 1 -
>  include/configs/da850evm.h                      | 1 -
>  include/configs/dockstar.h                      | 1 -
>  include/configs/ea20.h                          | 1 -
>  include/configs/ethernut5.h                     | 1 -
>  include/configs/exynos4-common.h                | 1 -
>  include/configs/flea3.h                         | 1 -
>  include/configs/gw_ventana.h                    | 1 -
>  include/configs/iconnect.h                      | 1 -
>  include/configs/ids8313.h                       | 1 -
>  include/configs/imx27lite-common.h              | 1 -
>  include/configs/imx31_phycore.h                 | 1 -
>  include/configs/imx6-engicam.h                  | 1 -
>  include/configs/imx6_logic.h                    | 1 -
>  include/configs/ipam390.h                       | 1 -
>  include/configs/km/keymile-common.h             | 1 -
>  include/configs/km/km_arm.h                     | 1 -
>  include/configs/m28evk.h                        | 1 -
>  include/configs/m53evk.h                        | 1 -
>  include/configs/mccmon6.h                       | 1 -
>  include/configs/mcx.h                           | 1 -
>  include/configs/microblaze-generic.h            | 1 -
>  include/configs/mv-common.h                     | 1 -
>  include/configs/mx28evk.h                       | 1 -
>  include/configs/mx31ads.h                       | 1 -
>  include/configs/mx35pdk.h                       | 1 -
>  include/configs/nas220.h                        | 1 -
>  include/configs/nokia_rx51.h                    | 1 -
>  include/configs/omap3_igep00x0.h                | 1 -
>  include/configs/omap3_logic.h                   | 1 -
>  include/configs/omapl138_lcdk.h                 | 1 -
>  include/configs/p1_p2_rdb_pc.h                  | 3 ---
>  include/configs/p1_twr.h                        | 1 -
>  include/configs/pcm052.h                        | 1 -
>  include/configs/pcm058.h                        | 1 -
>  include/configs/pengwyn.h                       | 2 --
>  include/configs/platinum.h                      | 1 -
>  include/configs/pogo_e02.h                      | 1 -
>  include/configs/sama5d3_xplained.h              | 1 -
>  include/configs/siemens-am33x-common.h          | 1 -
>  include/configs/smartweb.h                      | 2 --
>  include/configs/smdkc100.h                      | 1 -
>  include/configs/socfpga_common.h                | 1 -
>  include/configs/tam3517-common.h                | 1 -
>  include/configs/tao3530.h                       | 1 -
>  include/configs/taurus.h                        | 1 -
>  include/configs/ti_armv7_common.h               | 1 -
>  include/configs/titanium.h                      | 1 -
>  include/configs/tricorder.h                     | 1 -
>  include/configs/vct.h                           | 1 -
>  include/configs/vf610twr.h                      | 1 -
>  include/configs/woodburn_common.h               | 1 -
>  include/configs/x600.h                          | 1 -
>  include/configs/xilinx-ppc.h                    | 2 --
>  164 files changed, 92 insertions(+), 112 deletions(-)
>
> diff --git a/README b/README
> index aea19a257f..4b670ba326 100644
> --- a/README
> +++ b/README
> @@ -810,7 +810,6 @@ The following options need to be configured:
>                 CONFIG_CMD_MISC           Misc functions like sleep etc
>                 CONFIG_CMD_MMC          * MMC memory mapped support
>                 CONFIG_CMD_MII          * MII utility commands
> -               CONFIG_CMD_MTDPARTS     * MTD partition support
>                 CONFIG_CMD_NAND         * NAND support
>                 CONFIG_CMD_NET            bootp, tftpboot, rarpboot
>                 CONFIG_CMD_NFS            NFS support
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index f7b44392ac..6ab79a7a7a 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -570,6 +570,7 @@ config ARCH_KEYSTONE
>         select SYS_THUMB_BUILD
>         select CMD_POWEROFF
>         imply FIT
> +       imply CMD_MTDPARTS
>
>  config ARCH_OMAP2PLUS
>         bool "TI OMAP2+"
> @@ -651,6 +652,7 @@ config ARCH_SOCFPGA
>         select SYS_THUMB_BUILD
>         imply CRC32_VERIFY
>         imply FAT_WRITE
> +       imply CMD_MTDPARTS
>
>  config ARCH_SUNXI
>         bool "Support sunxi (Allwinner) SoCs"
> @@ -693,6 +695,7 @@ config ARCH_VF610
>         bool "Freescale Vybrid"
>         select CPU_V7
>         select SYS_FSL_ERRATUM_ESDHC111
> +       imply CMD_MTDPARTS
>
>  config ARCH_ZYNQ
>         bool "Xilinx Zynq Platform"
> diff --git a/arch/arm/cpu/armv7/vf610/Kconfig b/arch/arm/cpu/armv7/vf610/Kconfig
> index 13905b5281..634e52ed09 100644
> --- a/arch/arm/cpu/armv7/vf610/Kconfig
> +++ b/arch/arm/cpu/armv7/vf610/Kconfig
> @@ -3,6 +3,7 @@ if ARCH_VF610
>  config VF610
>         bool
>         default y
> +       imply CMD_MTDPARTS
>
>  choice
>         prompt "Vybrid board select"
> diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig
> index cdd21a253a..4b01c8254c 100644
> --- a/arch/powerpc/cpu/mpc83xx/Kconfig
> +++ b/arch/powerpc/cpu/mpc83xx/Kconfig
> @@ -28,6 +28,7 @@ config TARGET_MPC8313ERDB
>         bool "Support MPC8313ERDB"
>         select SUPPORT_SPL
>         select BOARD_EARLY_INIT_F
> +       imply CMD_MTDPARTS
>
>  config TARGET_MPC8315ERDB
>         bool "Support MPC8315ERDB"
> diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
> index 0bff79adbb..93bf274947 100644
> --- a/arch/powerpc/cpu/mpc85xx/Kconfig
> +++ b/arch/powerpc/cpu/mpc85xx/Kconfig
> @@ -148,6 +148,7 @@ config TARGET_P1022DS
>         select SUPPORT_SPL
>         select SUPPORT_TPL
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config TARGET_P1023RDB
>         bool "Support P1023RDB"
> @@ -217,6 +218,7 @@ config TARGET_P2020RDB
>         select ARCH_P2020
>         imply CMD_EEPROM
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config TARGET_P1_TWR
>         bool "Support p1_twr"
> @@ -482,6 +484,7 @@ config ARCH_BSC9132
>         select SYS_PPC_E500_USE_DEBUG_TLB
>         select FSL_IFC
>         imply CMD_EEPROM
> +       imply CMD_MTDPARTS
>
>  config ARCH_C29X
>         bool
> @@ -618,6 +621,7 @@ config ARCH_P1010
>         select FSL_IFC
>         imply CMD_EEPROM
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config ARCH_P1011
>         bool
> @@ -662,6 +666,7 @@ config ARCH_P1021
>         select SYS_PPC_E500_USE_DEBUG_TLB
>         select FSL_ELBC
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config ARCH_P1022
>         bool
> @@ -885,6 +890,7 @@ config ARCH_T1023
>         select SYS_FSL_SEC_COMPAT_5
>         select FSL_IFC
>         imply CMD_EEPROM
> +       imply CMD_MTDPARTS
>
>  config ARCH_T1024
>         bool
> @@ -903,6 +909,7 @@ config ARCH_T1024
>         select SYS_FSL_SEC_COMPAT_5
>         select FSL_IFC
>         imply CMD_EEPROM
> +       imply CMD_MTDPARTS
>
>  config ARCH_T1040
>         bool
> @@ -922,6 +929,7 @@ config ARCH_T1040
>         select SYS_FSL_SEC_COMPAT_5
>         select FSL_IFC
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config ARCH_T1042
>         bool
> @@ -941,6 +949,7 @@ config ARCH_T1042
>         select SYS_FSL_SEC_COMPAT_5
>         select FSL_IFC
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config ARCH_T2080
>         bool

I believe all FSL PPC targets needs to be updated to "imply
CMD_MTDPARTS", see below.

> diff --git a/board/micronas/vct/Kconfig b/board/micronas/vct/Kconfig
> index df7c0296c7..2aeb9d03ea 100644
> --- a/board/micronas/vct/Kconfig
> +++ b/board/micronas/vct/Kconfig
> @@ -43,6 +43,7 @@ endchoice
>
>  config VCT_ONENAND
>         bool "Enable VCT_ONENAND"
> +       imply CMD_MTDPARTS
>
>  config VCT_SMALL_IMAGE
>         bool "Enable VCT_SMALL_IMAGE"
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 3f12c42fa1..fc8398cd69 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1212,7 +1212,6 @@ config CMD_JFFS2
>           filesystem information.
>
>  config CMD_MTDPARTS
> -       depends on ARCH_SUNXI
>         bool "MTD partition support"
>         help
>           MTD partition support
> diff --git a/configs/BSC9131RDB_NAND_SYSCLK100_defconfig b/configs/BSC9131RDB_NAND_SYSCLK100_defconfig
> index 62c436898d..f1f28edd9c 100644
> --- a/configs/BSC9131RDB_NAND_SYSCLK100_defconfig
> +++ b/configs/BSC9131RDB_NAND_SYSCLK100_defconfig
> @@ -22,6 +22,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

This can be avoided if we update
arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_BSC9131"

>  CONFIG_FSL_CAAM=y
>  # CONFIG_MMC is not set
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/BSC9131RDB_NAND_defconfig b/configs/BSC9131RDB_NAND_defconfig
> index c5d9b9ba48..1d633a32fc 100644
> --- a/configs/BSC9131RDB_NAND_defconfig
> +++ b/configs/BSC9131RDB_NAND_defconfig
> @@ -22,6 +22,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  # CONFIG_MMC is not set
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig b/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig
> index 4434790b65..80834ab985 100644
> --- a/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig
> +++ b/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  # CONFIG_MMC is not set
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/BSC9131RDB_SPIFLASH_defconfig b/configs/BSC9131RDB_SPIFLASH_defconfig
> index 4bce5427b8..871a193ebf 100644
> --- a/configs/BSC9131RDB_SPIFLASH_defconfig
> +++ b/configs/BSC9131RDB_SPIFLASH_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  # CONFIG_MMC is not set
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/MPC8315ERDB_defconfig b/configs/MPC8315ERDB_defconfig
> index 32b88fc9d5..52ce29a0bc 100644
> --- a/configs/MPC8315ERDB_defconfig
> +++ b/configs/MPC8315ERDB_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_DATE=y
>  CONFIG_CMD_EXT2=y
> +CONFIG_CMD_MTDPARTS=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SYS_NS16550=y
> diff --git a/configs/P1020RDB-PD_NAND_defconfig b/configs/P1020RDB-PD_NAND_defconfig
> index eb9d2635b9..2ed975cdb9 100644
> --- a/configs/P1020RDB-PD_NAND_defconfig
> +++ b/configs/P1020RDB-PD_NAND_defconfig
> @@ -30,6 +30,7 @@ CONFIG_CMD_DATE=y
>  # CONFIG_CMD_HASH is not set
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

Update arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_P1020"?

>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_SPANSION=y
> diff --git a/configs/P1020RDB-PD_SDCARD_defconfig b/configs/P1020RDB-PD_SDCARD_defconfig
> index e6373f4200..777bd609e5 100644
> --- a/configs/P1020RDB-PD_SDCARD_defconfig
> +++ b/configs/P1020RDB-PD_SDCARD_defconfig
> @@ -28,6 +28,7 @@ CONFIG_CMD_DATE=y
>  # CONFIG_CMD_HASH is not set
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_SPANSION=y
> diff --git a/configs/P1020RDB-PD_SPIFLASH_defconfig b/configs/P1020RDB-PD_SPIFLASH_defconfig
> index 60f5ab3206..f8e6e431ae 100644
> --- a/configs/P1020RDB-PD_SPIFLASH_defconfig
> +++ b/configs/P1020RDB-PD_SPIFLASH_defconfig
> @@ -29,6 +29,7 @@ CONFIG_CMD_DATE=y
>  # CONFIG_CMD_HASH is not set
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_SPANSION=y
> diff --git a/configs/P1020RDB-PD_defconfig b/configs/P1020RDB-PD_defconfig
> index 30257b64f5..13266bf111 100644
> --- a/configs/P1020RDB-PD_defconfig
> +++ b/configs/P1020RDB-PD_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_DATE=y
>  # CONFIG_CMD_HASH is not set
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_SPANSION=y
> diff --git a/configs/T2080QDS_NAND_defconfig b/configs/T2080QDS_NAND_defconfig
> index 650293c948..bf21bec41a 100644
> --- a/configs/T2080QDS_NAND_defconfig
> +++ b/configs/T2080QDS_NAND_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

Update arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_T2080"?

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2080QDS_SDCARD_defconfig b/configs/T2080QDS_SDCARD_defconfig
> index af336dff0b..81cfb14d01 100644
> --- a/configs/T2080QDS_SDCARD_defconfig
> +++ b/configs/T2080QDS_SDCARD_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2080QDS_SECURE_BOOT_defconfig b/configs/T2080QDS_SECURE_BOOT_defconfig
> index 80ad085b1e..e1e8c72135 100644
> --- a/configs/T2080QDS_SECURE_BOOT_defconfig
> +++ b/configs/T2080QDS_SECURE_BOOT_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_DM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2080QDS_SPIFLASH_defconfig b/configs/T2080QDS_SPIFLASH_defconfig
> index 10b29c4a9a..2d24df780e 100644
> --- a/configs/T2080QDS_SPIFLASH_defconfig
> +++ b/configs/T2080QDS_SPIFLASH_defconfig
> @@ -28,6 +28,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2080QDS_defconfig b/configs/T2080QDS_defconfig
> index 09dc9e2619..8f85d64c74 100644
> --- a/configs/T2080QDS_defconfig
> +++ b/configs/T2080QDS_defconfig
> @@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2080RDB_NAND_defconfig b/configs/T2080RDB_NAND_defconfig
> index 8e7b677725..6b458973db 100644
> --- a/configs/T2080RDB_NAND_defconfig
> +++ b/configs/T2080RDB_NAND_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  # CONFIG_CMD_IRQ is not set
>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
> diff --git a/configs/T2080RDB_SDCARD_defconfig b/configs/T2080RDB_SDCARD_defconfig
> index fac743f55c..f045b1ae0c 100644
> --- a/configs/T2080RDB_SDCARD_defconfig
> +++ b/configs/T2080RDB_SDCARD_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  # CONFIG_CMD_IRQ is not set
>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
> diff --git a/configs/T2080RDB_SECURE_BOOT_defconfig b/configs/T2080RDB_SECURE_BOOT_defconfig
> index f8296387c4..5cc601deb7 100644
> --- a/configs/T2080RDB_SECURE_BOOT_defconfig
> +++ b/configs/T2080RDB_SECURE_BOOT_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  # CONFIG_CMD_IRQ is not set
>  CONFIG_DM=y
>  CONFIG_MTD_NOR_FLASH=y
> diff --git a/configs/T2080RDB_SPIFLASH_defconfig b/configs/T2080RDB_SPIFLASH_defconfig
> index ca7a38b7d2..f453e42e35 100644
> --- a/configs/T2080RDB_SPIFLASH_defconfig
> +++ b/configs/T2080RDB_SPIFLASH_defconfig
> @@ -28,6 +28,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  # CONFIG_CMD_IRQ is not set
>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
> diff --git a/configs/T2080RDB_defconfig b/configs/T2080RDB_defconfig
> index 424eda104e..c620ce8712 100644
> --- a/configs/T2080RDB_defconfig
> +++ b/configs/T2080RDB_defconfig
> @@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  # CONFIG_CMD_IRQ is not set
>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
> diff --git a/configs/T2081QDS_NAND_defconfig b/configs/T2081QDS_NAND_defconfig
> index 4653515682..00b8d8d351 100644
> --- a/configs/T2081QDS_NAND_defconfig
> +++ b/configs/T2081QDS_NAND_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

Update arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_T2081"?

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2081QDS_SDCARD_defconfig b/configs/T2081QDS_SDCARD_defconfig
> index 749d87bac9..263c8237d6 100644
> --- a/configs/T2081QDS_SDCARD_defconfig
> +++ b/configs/T2081QDS_SDCARD_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2081QDS_SPIFLASH_defconfig b/configs/T2081QDS_SPIFLASH_defconfig
> index 3e3031e134..046921fd48 100644
> --- a/configs/T2081QDS_SPIFLASH_defconfig
> +++ b/configs/T2081QDS_SPIFLASH_defconfig
> @@ -28,6 +28,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2081QDS_defconfig b/configs/T2081QDS_defconfig
> index 9afc426211..ce74b53067 100644
> --- a/configs/T2081QDS_defconfig
> +++ b/configs/T2081QDS_defconfig
> @@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/TQM834x_defconfig b/configs/TQM834x_defconfig
> index ef73ed40c8..61c157053e 100644
> --- a/configs/TQM834x_defconfig
> +++ b/configs/TQM834x_defconfig
> @@ -15,6 +15,7 @@ CONFIG_CMD_PING=y
>  CONFIG_CMD_SNTP=y
>  CONFIG_CMD_DATE=y
>  CONFIG_CMD_JFFS2=y
> +CONFIG_CMD_MTDPARTS=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SYS_NS16550=y
> diff --git a/configs/TWR-P1025_defconfig b/configs/TWR-P1025_defconfig
> index e210643aa4..906ada4b3c 100644
> --- a/configs/TWR-P1025_defconfig
> +++ b/configs/TWR-P1025_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_PING=y
>  # CONFIG_CMD_HASH is not set
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

Update arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_P1025"?

>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_NETDEVICES=y
>  CONFIG_E1000=y

[snip]

Regards,
Bin


More information about the U-Boot mailing list