diff options
author | Tudor Ambarus | 2021-01-08 14:40:18 +0200 |
---|---|---|
committer | Eugen Hristev | 2021-01-22 15:09:59 +0200 |
commit | 58b1d680d139113b7ce91aa2d22bc71d74a9715e (patch) | |
tree | fd0b4b45c67dd54eec2ed03aa7aed42a94b99d52 /configs/sama5d36ek_cmp_spiflash_defconfig | |
parent | 6f889819f3f3992f4e61c7b860f2958c9f1afab0 (diff) |
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>
Diffstat (limited to 'configs/sama5d36ek_cmp_spiflash_defconfig')
-rw-r--r-- | configs/sama5d36ek_cmp_spiflash_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sama5d36ek_cmp_spiflash_defconfig b/configs/sama5d36ek_cmp_spiflash_defconfig index 556ea2f29ea..4d604a2dea9 100644 --- a/configs/sama5d36ek_cmp_spiflash_defconfig +++ b/configs/sama5d36ek_cmp_spiflash_defconfig @@ -49,6 +49,7 @@ CONFIG_MTD=y CONFIG_MTD_RAW_NAND=y CONFIG_NAND_ATMEL=y CONFIG_ATMEL_NAND_HW_PMECC=y +CONFIG_PMECC_CAP=4 CONFIG_DM_SPI_FLASH=y CONFIG_SF_DEFAULT_SPEED=30000000 CONFIG_SPI_FLASH_ATMEL=y |