configs: at91: Fix wrong definitions for CONFIG_PMECC_CAP
authorTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 8 Jan 2021 12:40:18 +0000 (14:40 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Fri, 22 Jan 2021 13:09:59 +0000 (15:09 +0200)
commit58b1d680d139113b7ce91aa2d22bc71d74a9715e
treefd0b4b45c67dd54eec2ed03aa7aed42a94b99d52
parent6f889819f3f3992f4e61c7b860f2958c9f1afab0
configs: at91: Fix wrong definitions for CONFIG_PMECC_CAP

When CONFIG_ATMEL_NAND_HW_PMECC is set, CONFIG_PMECC_CAP defaults
to the value of 2. At the conversion to Kconfig for the PMECC config
values, some boards/defconfigs were wrongly configured.
Update CONFIG_PMECC_CAP to the PMECC_CAP value before the conversion.

Fixes: 49ad40298c ("ARM: at91: Convert SPL_GENERATE_ATMEL_PMECC_HEADER to Kconfig")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
configs/sama5d36ek_cmp_mmc_defconfig
configs/sama5d36ek_cmp_nandflash_defconfig
configs/sama5d36ek_cmp_spiflash_defconfig
configs/sama5d3_xplained_mmc_defconfig
configs/sama5d4ek_mmc_defconfig