From mboxrd@z Thu Jan 1 00:00:00 1970 From: Derald Woods Date: Sun, 20 Jan 2019 08:25:19 -0600 Subject: [U-Boot] [PATCH v3 1/1] ARM: at91: Convert SPL_GENERATE_ATMEL_PMECC_HEADER to Kconfig In-Reply-To: <20190120125723.GA18346@bill-the-cat> References: <20190119200231.4504-1-woods.technical@gmail.com> <20190120033714.17703-1-woods.technical@gmail.com> <20190120033714.17703-2-woods.technical@gmail.com> <20190120125723.GA18346@bill-the-cat> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Jan 20, 2019 at 6:57 AM Tom Rini 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 > > Cc: Eugen Hristev > > Signed-off-by: Derald D. Woods > > 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 >