Skip to content

spl: Start cleaning up common/spl/Kconfig

Tom Rini u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3spl: Move all VPL, TPL and PowerPC specific CONFIG options to separate filescommon/spl/Kconfig common/spl/Kconfig.nxp common/spl/Kconfig.tpl +1 more+650 -6581 reply
2/3spl: Rework Kconfig to be more menu drivencommon/spl/Kconfig+22 -321 reply
3/3spl: Rework and tighten some dependenciescommon/spl/Kconfig+24 -311 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [0/3] spl: Start cleaning up common/spl/Kconfig

Hey all,

This series depends on:
https://patchwork.ozlabs.org/project/uboot/list/?series=299963
https://patchwork.ozlabs.org/project/uboot/list/?series=300980
https://patchwork.ozlabs.org/project/uboot/list/?series=301665
https://patchwork.ozlabs.org/project/uboot/list/?series=302137
https://patchwork.ozlabs.org/project/uboot/list/?series=302394
https://patchwork.ozlabs.org/project/uboot/list/?series=302371
and is the starting point of cleaning up / re-organizing SPL (and TPL and VPL) options in Kconfig, now that all SPL options are in Kconfig and we can more clearly see some of the messes that exist and unwind them.

This series start by splitting some of the large chunks out to additional files then moves on to tightening dependencies and doing some small amounts of re-organization. After this, I feel like the three biggest chunks to address are:
- Falcon stuff, perhaps in it's own file, or at least all in its own menu.
- Everything that's SPL_FRAMEWORK dependent should also be in its own menu, probably. Maybe just a big if ... endif? Outside of the PowerPC case, there's much less non-SPL_FRAMEWORK configs, but there are a few of them. Perhaps some of the options should be moved outside of common/spl/Kconfig and to their arch/mach Kconfig and selected or def_bool'd.
- There's more SPL_FRAMEWORK + SPL_DM requiring options, and the too should be grouped together and at least have correct dependencies and maybe if ... endif but probably not a menu in that case.

Finally, I could squash parts 2 and 3 of this series together, but I don't have strong feelings either way.

Signature · 1 line
Tom