summaryrefslogtreecommitdiff
path: root/configs/sama5d4_xplained_mmc_defconfig
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2019-05-28 11:41:56 +0300
committerEugen Hristev <eugen.hristev@microchip.com>2019-05-28 12:28:33 +0300
commitcd60ea71f380ee4c7af2a56419d6234878b950e4 (patch)
treecf040b3c0fadd6eed57c17c589d5468225e4faff /configs/sama5d4_xplained_mmc_defconfig
parent1cee54ebf3e2d221213fbb45f0f86798c8979fd6 (diff)
configs: atmel: sama5d4_xplained_mmc: enable HW PMECC
NAND: BUG at drivers/mtd/nand/raw/nand_base.c:4361/nand_scan_tail()! This board has a NAND flash enabled, and it requires the HW PMECC in order to correctly probe this flash. In the NAND flash configuration , this is selected by the GENERATE_PMECC_HEADER which is not needed for mmc configuration. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Diffstat (limited to 'configs/sama5d4_xplained_mmc_defconfig')
-rw-r--r--configs/sama5d4_xplained_mmc_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/sama5d4_xplained_mmc_defconfig b/configs/sama5d4_xplained_mmc_defconfig
index f673832dff..0504b4ec0f 100644
--- a/configs/sama5d4_xplained_mmc_defconfig
+++ b/configs/sama5d4_xplained_mmc_defconfig
@@ -59,6 +59,8 @@ CONFIG_DM_MMC=y
CONFIG_GENERIC_ATMEL_MCI=y
CONFIG_NAND=y
CONFIG_NAND_ATMEL=y
+CONFIG_ATMEL_NAND_HW_PMECC=y
+CONFIG_PMECC_CAP=8
CONFIG_DM_SPI_FLASH=y
CONFIG_SPI_FLASH=y
CONFIG_SF_DEFAULT_SPEED=30000000