[U-Boot] ARM: at91: Convert SPL_GENERATE_ATMEL_PMECC_HEADER to Kconfig
Tom Rini
trini at konsulko.com
Mon Jan 21 16:58:35 UTC 2019
On Sat, Dec 15, 2018 at 01:36:46AM -0600, Derald D. Woods wrote:
> 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")
> Reported-by: Daniel Evans <photonthunder at gmail.com>
> Cc: Eugen Hristev <eugen.hristev at microchip.com>
> Signed-off-by: Derald D. Woods <woods.technical at gmail.com>
Note that to make this more size neutral I had to tweak a few configs
and I hope I didn't inadvertently re-break some platforms. However,
with them in Kconfig now a re-adjustment and removal of drivers that
shouldn't be there for a specific defconfig is easier, sorry about the
potential noise!
Also, I see but couldn't quite track down which option wasn't quite
right on sama5d2_ptc_ek_mmc and sama5d2_ptc_ek_nandflash as we're seeing
some size reduction in atmel_nand_chip_init() but non-obvious to me
which option is/isn't set and I re-checked the migration.
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190121/54e3c45b/attachment.sig>
More information about the U-Boot
mailing list