kconfig: add named choice group
As choice dependency are now fully checked, it's quite easy to add support
for named choices. This lifts the restriction that a choice value can only
appear once, although it still has to be within the same group,
but multiple choices can be joined by giving them a name.
While at it I cleaned up a little the choice type logic to simplify it a
Signed-off-by: Roman Zippel <firstname.lastname@example.org>
Signed-off-by: Sam Ravnborg <email@example.com>
Cherry-picked from the Linux kernel.
TEST=Built for Pit, Link, Fox.
Signed-off-by: Gabe Black <firstname.lastname@example.org>
Reviewed-by: Stefan Reinauer <email@example.com>
Commit-Queue: Gabe Black <firstname.lastname@example.org>
Tested-by: Gabe Black <email@example.com>
6 files changed