[U-Boot] [RFC] Kconfig: Migrate SYS_NAND_ECC... et al question
Tom Rini
trini at konsulko.com
Thu Aug 10 00:44:17 UTC 2017
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: <http://lists.denx.de/pipermail/u-boot/attachments/20170809/c3d15799/attachment.sig>
More information about the U-Boot
mailing list