Skip to contentSkip to conversation

ARM: configs: at91: sama7: Enable NAND / SMC

PATCH Applied Tudor Ambarus 2 participants 2 messages Jan 11, 2022 – Feb 24, 2022 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/arm/configs/sama7_defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm/configs/sama7_defconfig +3 -1
index 0368068e04d9..342d9f30d9d2 100644
@@ -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
Signature · 1 line
2.25.1
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 5 lines · Tudor Ambarus

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.

Applied to at91-defconfig for 5.18.

Thanks, regards,
Nicolas

Quoted 26 lines
---
  arch/arm/configs/sama7_defconfig | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm/configs/sama7_defconfig +3 -1
index 0368068e04d9..342d9f30d9d2 100644
@@ -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
Signature · 1 line
Nicolas Ferre