From: Tom Rini Date: Wed, 9 Aug 2017 20:44:17 -0400 Subject: [U-Boot] [RFC] Kconfig: Migrate SYS_NAND_ECC... et al question In-Reply-To: <1502165278-15839-1-git-send-email-aford173@gmail.com> References: <1502165278-15839-1-git-send-email-aford173@gmail.com> Message-ID: <20170810004417.GS5837@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Aug 07, 2017 at 11:07:58PM -0500, Adam Ford wrote: > I am trying to migrate ECC Scheme, SYS_NAND_ECCBYTES, > SYS_NAND_ECCSIZE, and SYS_NAND_ECCSIZE to Kconfig with the changes > I am attaching. > > I my ideal scenario, the selection of scheme would set > CONFIG_NAND_OMAP_ECCSCHEME to whatever menu option is defined, then > corresponding default values of CONFIG_SYS_NAND_ECCSIZE and > CONFIG_SYS_NAND_ECCBYTES, but I can't figure out how to make that > work. > > When I run the migration tool, all the omap2plus boards fail. > > If anyone has any suggestions, I'm open to ideas. I have been > testing this on the Logic PD DM3730 Kit. I think what you need to do is leave all of the values out of Kconfig when running the migration tool, so that every board sets a value into their defconfig. Then you can start adding in logic inside of Kconfig for defaults. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: