[U-Boot] [PATCH v3 1/1] ARM: at91: Convert SPL_GENERATE_ATMEL_PMECC_HEADER to Kconfig

Derald Woods woods.technical at gmail.com
Sun Jan 20 14:25:19 UTC 2019


On Sun, Jan 20, 2019 at 6:57 AM Tom Rini <trini at konsulko.com> wrote:

> On Sat, Jan 19, 2019 at 09:37:14PM -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
> >
> > Config files not explicitly containing the name *nandflash* will have
> > PMECC disabled. PMECC support requires that a header be applied to
> > "boot.bin". The generated PMECC "boot.bin" is intended for NAND media.
> >
> > [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>
>
> So, this too has a bunch of problems:
> pm9g45 at91sam9261ek_dataflash_cs3 at91sam9261ek_dataflash_cs0
> at91sam9xeek_dataflash_cs1 at91sam9260ek_dataflash_cs0
> at91sam9260ek_dataflash_cs1 at91sam9260ek_nandflash
> at91sam9263ek_dataflash_cs0 ethernut5 at91sam9g20ek_dataflash_cs1
> at91sam9g20ek_dataflash_cs0 wb50n at91sam9xeek_nandflash
> at91sam9m10g45ek_nandflash snapper9g20 at91sam9rlek_mmc
> at91sam9xeek_dataflash_cs0 at91sam9g10ek_nandflash
> at91sam9g10ek_dataflash_cs3 at91sam9g10ek_dataflash_cs0
> at91sam9g20ek_2mmc_nandflash at91sam9263ek_norflash_boot
> at91sam9g20ek_nandflash snapper9260 at91sam9g20ek_2mmc
> at91sam9263ek_norflash at91sam9261ek_nandflash meesc pm9261 pm9263
> at91sam9m10g45ek_mmc gurnard wb45n usb_a9263_dataflash
> at91sam9rlek_nandflash at91sam9263ek_dataflash at91sam9263ek_nandflash
> at91sam9rlek_dataflash
>
> v1 was actually pretty close to size neutral and nothing failed to
> build.  I'm going to build that again and tweak it for neutrality.
> Thanks again!
>


Sounds good to me. Sometimes you have to stick with your first thoughts.
The simple change is usually the best case.

Derald



>
> --
> Tom
>


More information about the U-Boot mailing list