summaryrefslogtreecommitdiff
path: root/configs/sam9x60ek_nandflash_defconfig
diff options
context:
space:
mode:
authorBalamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>2022-10-25 13:51:06 +0300
committerEugen Hristev <eugen.hristev@microchip.com>2022-12-08 19:06:27 +0300
commit2cf5d0aa8e92aff6f5f18ada9dc1b6c7021ff026 (patch)
treec15b306f11960035219e67fabca3f8ad37979509 /configs/sam9x60ek_nandflash_defconfig
parent2dc1b8fe17b283db4e4485f01ba10dff6b37d693 (diff)
downloadu-boot-2cf5d0aa8e92aff6f5f18ada9dc1b6c7021ff026.tar.xz
configs: at91: sam9x60ek: Enable DM based nand driver
Enable Device model supported NAND driver and remove legacy Atmel NAND driver. Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
Diffstat (limited to 'configs/sam9x60ek_nandflash_defconfig')
-rw-r--r--configs/sam9x60ek_nandflash_defconfig9
1 files changed, 6 insertions, 3 deletions
diff --git a/configs/sam9x60ek_nandflash_defconfig b/configs/sam9x60ek_nandflash_defconfig
index b04a153640..a9cbb6e953 100644
--- a/configs/sam9x60ek_nandflash_defconfig
+++ b/configs/sam9x60ek_nandflash_defconfig
@@ -54,6 +54,8 @@ CONFIG_OF_CONTROL=y
CONFIG_ENV_IS_IN_NAND=y
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_REGMAP=y
+CONFIG_SYSCON=y
CONFIG_CLK=y
CONFIG_CLK_CCF=y
CONFIG_CLK_AT91=y
@@ -63,14 +65,15 @@ CONFIG_CPU=y
CONFIG_AT91_GPIO=y
CONFIG_DM_I2C=y
CONFIG_SYS_I2C_AT91=y
+CONFIG_ATMEL_EBI=y
+CONFIG_MFD_ATMEL_SMC=y
CONFIG_I2C_EEPROM=y
CONFIG_MICROCHIP_FLEXCOM=y
CONFIG_GENERIC_ATMEL_MCI=y
CONFIG_MTD=y
+CONFIG_DM_MTD=y
# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
-CONFIG_NAND_ATMEL=y
-CONFIG_ATMEL_NAND_HW_PMECC=y
-CONFIG_PMECC_CAP=8
+CONFIG_DM_NAND_ATMEL=y
CONFIG_SYS_NAND_ONFI_DETECTION=y
CONFIG_DM_SPI_FLASH=y
CONFIG_SF_DEFAULT_SPEED=50000000