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
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot