]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: sam9x60ek: Enable NAND on mmc defconfig
authorTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 21 May 2021 08:52:05 +0000 (11:52 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Mon, 7 Jun 2021 08:01:40 +0000 (11:01 +0300)
Enable NAND on mmc defconfig for greater flexibility and for consistency
reasons. All our other boards that have a NAND flash integrated, enable
NAND regardless of the type of the defconfig.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
configs/sam9x60ek_mmc_defconfig

index e97b20aeb3360c2c64053e34815061626f3236a6..e5edf45fee5e637a57b3b7dc587107511fb91fba 100644 (file)
@@ -25,6 +25,8 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_DM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_NAND=y
+CONFIG_CMD_NAND_TRIMFFS=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
@@ -48,6 +50,11 @@ CONFIG_MICROCHIP_FLEXCOM=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ATMEL=y
+CONFIG_MTD=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_NAND_ATMEL=y
+CONFIG_ATMEL_NAND_HW_PMECC=y
+CONFIG_PMECC_CAP=8
 CONFIG_PHY_MICREL=y
 CONFIG_DM_ETH=y
 CONFIG_MACB=y