From 49ad40298cc5639436c6d490b699ecb60895ba2d Mon Sep 17 00:00:00 2001 From: "Derald D. Woods" Date: Sat, 15 Dec 2018 01:36:46 -0600 Subject: ARM: at91: Convert SPL_GENERATE_ATMEL_PMECC_HEADER to Kconfig This commit converts the following items to Kconfig: CONFIG_ATMEL_NAND_HWECC CONFIG_ATMEL_NAND_HW_PMECC CONFIG_PMECC_CAP CONFIG_PMECC_SECTOR_SIZE CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER [PMECC References] https://www.at91.com/linux4sam/bin/view/Linux4SAM/PmeccConfigure https://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91Bootstrap [Mailing List Thread] https://lists.denx.de/pipermail/u-boot/2018-December/350666.html Fixes: 5541543f ("configs: at91: Remove CONFIG_SYS_EXTRA_OPTIONS assignment") [trini: Make the migration be size neutral and possibly not fix the above in all cases] Reported-by: Daniel Evans Cc: Eugen Hristev Signed-off-by: Derald D. Woods Signed-off-by: Tom Rini --- configs/sama5d4ek_nandflash_defconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configs/sama5d4ek_nandflash_defconfig') diff --git a/configs/sama5d4ek_nandflash_defconfig b/configs/sama5d4ek_nandflash_defconfig index 1497110452..b830b8f653 100644 --- a/configs/sama5d4ek_nandflash_defconfig +++ b/configs/sama5d4ek_nandflash_defconfig @@ -54,6 +54,8 @@ CONFIG_AT91_GPIO=y CONFIG_DM_MMC=y CONFIG_GENERIC_ATMEL_MCI=y CONFIG_NAND_ATMEL=y +CONFIG_PMECC_CAP=8 +CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_ATMEL=y -- cgit v1.2.3