aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTudor Ambarus <[email protected]>2022-01-11 14:56:41 +0200
committerNicolas Ferre <[email protected]>2022-02-24 19:51:43 +0100
commit5f37e194bafd016b1126b9a7c23b2e1546f5dd3e (patch)
treeced748aa220d99b5257e457928018baaceed610c
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
ARM: configs: at91: sama7: Enable NAND / SMC
Enable the Static Memory Controller. Tested with Micron MT29F4G08ABAEAWP NAND flash. Software error correction is not needed, as the SMC includes a PMECC error correction hardware module. Signed-off-by: Tudor Ambarus <[email protected]> Signed-off-by: Nicolas Ferre <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--arch/arm/configs/sama7_defconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig
index 0368068e04d9..342d9f30d9d2 100644
--- a/arch/arm/configs/sama7_defconfig
+++ b/arch/arm/configs/sama7_defconfig
@@ -82,6 +82,9 @@ CONFIG_DEVTMPFS_MOUNT=y
CONFIG_MTD=y
CONFIG_MTD_TESTS=m
CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_MTD_NAND_ATMEL=y
+# CONFIG_MTD_NAND_ECC_SW_HAMMING is not set
CONFIG_MTD_SPI_NOR=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
@@ -174,7 +177,6 @@ CONFIG_DMATEST=y
CONFIG_STAGING=y
CONFIG_MICROCHIP_PIT64B=y
# CONFIG_IOMMU_SUPPORT is not set
-# CONFIG_ATMEL_EBI is not set
CONFIG_IIO=y
CONFIG_IIO_SW_TRIGGER=y
CONFIG_AT91_SAMA5D2_ADC=y