mtd: Rename SPL_MTD_SUPPORT to SPL_MTD

Rename SPL_MTD_SUPPORT to SPL_MTD in order to match MTD. This allows using
CONFIG_IS_ENABLED to test for MTD support.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
Sean Anderson
2023-11-04 16:37:47 -04:00
committed by Tom Rini
parent bd9573c11c
commit b35df87ae5
42 changed files with 42 additions and 42 deletions

View File

@@ -857,7 +857,7 @@ config SPL_MPC8XXX_INIT_DDR
allows DRAM to be set up before loading U-Boot into that DRAM, allows DRAM to be set up before loading U-Boot into that DRAM,
where it can run. where it can run.
config SPL_MTD_SUPPORT config SPL_MTD
bool "Support MTD drivers" bool "Support MTD drivers"
help help
Enable support for MTD (Memory Technology Device) within SPL. MTD Enable support for MTD (Memory Technology Device) within SPL. MTD

View File

@@ -22,7 +22,7 @@ CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_EXT4=y
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_BASE=y CONFIG_SPL_NAND_BASE=y

View File

@@ -26,7 +26,7 @@ CONFIG_SPL_FIT_IMAGE_TINY=y
CONFIG_SPL_ETH=y CONFIG_SPL_ETH=y
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_MUSB_NEW=y CONFIG_SPL_MUSB_NEW=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y

View File

@@ -28,7 +28,7 @@ CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SPL_FIT_IMAGE_TINY=y CONFIG_SPL_FIT_IMAGE_TINY=y
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
# CONFIG_SPL_NAND_SUPPORT is not set # CONFIG_SPL_NAND_SUPPORT is not set
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_SPI_LOAD=y CONFIG_SPL_SPI_LOAD=y

View File

@@ -27,7 +27,7 @@ CONFIG_SPL_FIT_IMAGE_TINY=y
# CONFIG_SPL_ENV_SUPPORT is not set # CONFIG_SPL_ENV_SUPPORT is not set
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
# CONFIG_SPL_NAND_SUPPORT is not set # CONFIG_SPL_NAND_SUPPORT is not set
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y

View File

@@ -29,7 +29,7 @@ CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SPL_FIT_IMAGE_TINY=y CONFIG_SPL_FIT_IMAGE_TINY=y
# CONFIG_SPL_ENV_SUPPORT is not set # CONFIG_SPL_ENV_SUPPORT is not set
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
# CONFIG_SPL_NAND_SUPPORT is not set # CONFIG_SPL_NAND_SUPPORT is not set
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y

View File

@@ -24,7 +24,7 @@ CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_EXT4=y
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_BASE=y CONFIG_SPL_NAND_BASE=y

View File

@@ -28,7 +28,7 @@ CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_EXT4=y
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
# CONFIG_SPL_NAND_SUPPORT is not set # CONFIG_SPL_NAND_SUPPORT is not set
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y

View File

@@ -26,7 +26,7 @@ CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
# CONFIG_SPL_I2C is not set # CONFIG_SPL_I2C is not set
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_SIMPLE=y

View File

@@ -22,7 +22,7 @@ CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SPL_ETH=y CONFIG_SPL_ETH=y
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_BASE=y CONFIG_SPL_NAND_BASE=y

View File

@@ -21,7 +21,7 @@ CONFIG_SPL_MAX_SIZE=0x439e0
CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_BASE=y CONFIG_SPL_NAND_BASE=y

View File

@@ -20,7 +20,7 @@ CONFIG_SPL_MAX_SIZE=0x37690
CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_BASE=y CONFIG_SPL_NAND_BASE=y

View File

@@ -28,7 +28,7 @@ CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SPL_ETH=y CONFIG_SPL_ETH=y
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_BASE=y CONFIG_SPL_NAND_BASE=y

View File

@@ -43,7 +43,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
CONFIG_SPL_DMA=y CONFIG_SPL_DMA=y
CONFIG_SPL_DM_MAILBOX=y CONFIG_SPL_DM_MAILBOX=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_DM_RESET=y CONFIG_SPL_DM_RESET=y
CONFIG_SPL_POWER_DOMAIN=y CONFIG_SPL_POWER_DOMAIN=y

View File

@@ -52,7 +52,7 @@ CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_DM_MAILBOX=y CONFIG_SPL_DM_MAILBOX=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_DM_RESET=y CONFIG_SPL_DM_RESET=y
CONFIG_SPL_POWER_DOMAIN=y CONFIG_SPL_POWER_DOMAIN=y

View File

@@ -37,7 +37,7 @@ CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x480 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x480
CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_EXT4=y
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
# CONFIG_SPL_NAND_SUPPORT is not set # CONFIG_SPL_NAND_SUPPORT is not set
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y

View File

@@ -24,7 +24,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_SIMPLE=y

View File

@@ -25,7 +25,7 @@ CONFIG_BOARD_LATE_INIT=y
CONFIG_SPL_BSS_START_ADDR=0x84100000 CONFIG_SPL_BSS_START_ADDR=0x84100000
CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_DMA=y CONFIG_SPL_DMA=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y
CONFIG_SPL_WATCHDOG=y CONFIG_SPL_WATCHDOG=y
CONFIG_CMD_DM=y CONFIG_CMD_DM=y

View File

@@ -43,7 +43,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
CONFIG_SPL_DMA=y CONFIG_SPL_DMA=y
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y
CONFIG_SPL_NAND_BASE=y CONFIG_SPL_NAND_BASE=y
CONFIG_SPL_NAND_IDENT=y CONFIG_SPL_NAND_IDENT=y

View File

@@ -50,7 +50,7 @@ CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_DM_MAILBOX=y CONFIG_SPL_DM_MAILBOX=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_NOR_SUPPORT=y CONFIG_SPL_NOR_SUPPORT=y
CONFIG_SPL_DM_RESET=y CONFIG_SPL_DM_RESET=y

View File

@@ -48,7 +48,7 @@ CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_EXT4=y
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_DM_MAILBOX=y CONFIG_SPL_DM_MAILBOX=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_NOR_SUPPORT=y CONFIG_SPL_NOR_SUPPORT=y
CONFIG_SPL_DM_RESET=y CONFIG_SPL_DM_RESET=y

View File

@@ -50,7 +50,7 @@ CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_DM_MAILBOX=y CONFIG_SPL_DM_MAILBOX=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_NOR_SUPPORT=y CONFIG_SPL_NOR_SUPPORT=y
CONFIG_SPL_DM_RESET=y CONFIG_SPL_DM_RESET=y

View File

@@ -53,7 +53,7 @@ CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_EXT4=y
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_DM_MAILBOX=y CONFIG_SPL_DM_MAILBOX=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_NOR_SUPPORT=y CONFIG_SPL_NOR_SUPPORT=y
CONFIG_SPL_DM_RESET=y CONFIG_SPL_DM_RESET=y

View File

@@ -49,7 +49,7 @@ CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_DM_MAILBOX=y CONFIG_SPL_DM_MAILBOX=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_NOR_SUPPORT=y CONFIG_SPL_NOR_SUPPORT=y
CONFIG_SPL_DM_RESET=y CONFIG_SPL_DM_RESET=y

View File

@@ -55,7 +55,7 @@ CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_EXT4=y
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_DM_MAILBOX=y CONFIG_SPL_DM_MAILBOX=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_NOR_SUPPORT=y CONFIG_SPL_NOR_SUPPORT=y
CONFIG_SPL_DM_RESET=y CONFIG_SPL_DM_RESET=y

View File

@@ -30,7 +30,7 @@ CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
# CONFIG_SPL_I2C is not set # CONFIG_SPL_I2C is not set
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_SIMPLE=y

View File

@@ -31,7 +31,7 @@ CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
# CONFIG_SPL_I2C is not set # CONFIG_SPL_I2C is not set
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_SIMPLE=y

View File

@@ -22,7 +22,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_SIMPLE=y

View File

@@ -22,7 +22,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_SIMPLE=y

View File

@@ -29,7 +29,7 @@ CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
# CONFIG_SPL_I2C is not set # CONFIG_SPL_I2C is not set
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_SIMPLE=y

View File

@@ -31,7 +31,7 @@ CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
# CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_FS_EXT4 is not set
# CONFIG_SPL_I2C is not set # CONFIG_SPL_I2C is not set
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_SIMPLE=y

View File

@@ -28,7 +28,7 @@ CONFIG_ARCH_MISC_INIT=y
CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_BASE=y CONFIG_SPL_NAND_BASE=y

View File

@@ -28,7 +28,7 @@ CONFIG_ARCH_MISC_INIT=y
CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_DRIVERS=y
CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_ECC=y
CONFIG_SPL_NAND_BASE=y CONFIG_SPL_NAND_BASE=y

View File

@@ -43,7 +43,7 @@ CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK=y
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x1 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x1
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE is not set # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE is not set
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y
CONFIG_SYS_MAXARGS=32 CONFIG_SYS_MAXARGS=32
CONFIG_SYS_BOOTM_LEN=0x4000000 CONFIG_SYS_BOOTM_LEN=0x4000000

View File

@@ -34,7 +34,7 @@ CONFIG_SPL_PAD_TO=0x9000
CONFIG_SPL_NO_BSS_LIMIT=y CONFIG_SPL_NO_BSS_LIMIT=y
CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOARD_INIT=y
CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_XIP_SUPPORT=y CONFIG_SPL_XIP_SUPPORT=y
CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x80c0000 CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x80c0000
CONFIG_SPL_DM_RESET=y CONFIG_SPL_DM_RESET=y

View File

@@ -34,7 +34,7 @@ CONFIG_SPL_PAD_TO=0x9000
CONFIG_SPL_NO_BSS_LIMIT=y CONFIG_SPL_NO_BSS_LIMIT=y
CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOARD_INIT=y
CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_XIP_SUPPORT=y CONFIG_SPL_XIP_SUPPORT=y
CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x80c0000 CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x80c0000
CONFIG_SPL_DM_RESET=y CONFIG_SPL_DM_RESET=y

View File

@@ -33,7 +33,7 @@ CONFIG_SPL_PAD_TO=0x9000
CONFIG_SPL_NO_BSS_LIMIT=y CONFIG_SPL_NO_BSS_LIMIT=y
CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOARD_INIT=y
CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_XIP_SUPPORT=y CONFIG_SPL_XIP_SUPPORT=y
CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x81c0000 CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x81c0000
CONFIG_SPL_DM_RESET=y CONFIG_SPL_DM_RESET=y

View File

@@ -40,7 +40,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=3 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=3
CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_POWER=y CONFIG_SPL_POWER=y
CONFIG_SPL_SPI_FLASH_MTD=y CONFIG_SPL_SPI_FLASH_MTD=y

View File

@@ -47,7 +47,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=3 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=3
CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_POWER=y CONFIG_SPL_POWER=y
CONFIG_SPL_RAM_SUPPORT=y CONFIG_SPL_RAM_SUPPORT=y

View File

@@ -45,7 +45,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=3 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=3
CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_I2C=y CONFIG_SPL_I2C=y
CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MTD=y
CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_POWER=y CONFIG_SPL_POWER=y
CONFIG_SPL_RAM_SUPPORT=y CONFIG_SPL_RAM_SUPPORT=y

View File

@@ -31,7 +31,7 @@ obj-$(CONFIG_NVMXIP) += nvmxip/
else else
ifneq ($(mtd-y),) ifneq ($(mtd-y),)
obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd.o obj-$(CONFIG_SPL_MTD) += mtd.o
endif endif
obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += nand/ obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += nand/
obj-$(CONFIG_SPL_ONENAND_SUPPORT) += onenand/ obj-$(CONFIG_SPL_ONENAND_SUPPORT) += onenand/

View File

@@ -163,7 +163,7 @@ struct cfi_pri_hdr {
#if defined(CONFIG_SYS_MAX_FLASH_BANKS_DETECT) #if defined(CONFIG_SYS_MAX_FLASH_BANKS_DETECT)
/* map to cfi_flash_num_flash_banks only when supported */ /* map to cfi_flash_num_flash_banks only when supported */
#if IS_ENABLED(CONFIG_FLASH_CFI_DRIVER) && \ #if IS_ENABLED(CONFIG_FLASH_CFI_DRIVER) && \
(!IS_ENABLED(CONFIG_SPL_BUILD) || IS_ENABLED(CONFIG_SPL_MTD_SUPPORT)) (!IS_ENABLED(CONFIG_SPL_BUILD) || IS_ENABLED(CONFIG_SPL_MTD))
#define CFI_FLASH_BANKS (cfi_flash_num_flash_banks) #define CFI_FLASH_BANKS (cfi_flash_num_flash_banks)
/* board code can update this variable before CFI detection */ /* board code can update this variable before CFI detection */
extern int cfi_flash_num_flash_banks; extern int cfi_flash_num_flash_banks;