]> git.ipfire.org Git - people/ms/u-boot.git/commit
am335x, shc: kconfig: Fix misspelled choice default
authorUlf Magnusson <ulfalizer@gmail.com>
Tue, 30 Jan 2018 13:04:43 +0000 (14:04 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 6 Feb 2018 01:58:11 +0000 (20:58 -0500)
commitc631e150feb150cff744c12d5e54b609ba62a227
tree98498ab60679cd62f7ff38995f9d240e941e5860
parentf29aa23b54e26d212cc61c07bcbb66ed5d6f9704
am335x, shc: kconfig: Fix misspelled choice default

There is no EMMC symbol in the "enable different boot versions for the
shc board" choice. SHC_EMMC was probably intended.

No functional changes. Kconfig choices fall back on using the first
(visible) symbol in the choice as the default if the default symbol is
not visible.

Discovered in Kconfiglib (https://github.com/ulfalizer/Kconfiglib),
which prints the following warning:

warning: the default selection EMMC (undefined) of <choice> (defined at board/bosch/shc/Kconfig:15) is not contained in the choice

I've added a corresponding warning to the C tools too, which is
currently in linux-next: https://patchwork.kernel.org/patch/9983667/

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
board/bosch/shc/Kconfig