mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
ceddd3e9a5
After importing linux v4.16-rc1 commit 2c37e08464a8 ("kconfig: Warn if
choice default is not in choice"), Kconfig complains:
scripts/kconfig/conf --syncconfig Kconfig
board/eets/pdu001/Kconfig:22:warning: \
choice default symbol 'PDU001_RUN_LED_RED' \
is not contained in the choice
This looks to be caused by a typo. Fix it.
Fixes: 85ab0452fe
("arm: add support for PDU001")
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Felix Brack <fb@ltec.ch>
Tested-by: Felix Brack <fb@ltec.ch>
50 lines
848 B
Text
50 lines
848 B
Text
# Copyright (C) 2018 EETS GmbH - http://www.eets.ch/
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
if TARGET_PDU001
|
|
|
|
config SYS_BOARD
|
|
default "pdu001"
|
|
|
|
config SYS_VENDOR
|
|
default "eets"
|
|
|
|
config SYS_SOC
|
|
default "am33xx"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "pdu001"
|
|
|
|
choice
|
|
prompt "State of Run LED"
|
|
default RUN_LED_RED
|
|
help
|
|
The PDU001 has a bi-color (red/green) LED labeled 'Run' which
|
|
can be used to indicate the operating state of the board. By
|
|
default it will be lit red by U-Boot. Later in the start-up
|
|
process it can be changed to green (or heartbeat or anything else)
|
|
by the kernel or some other software.
|
|
|
|
config RUN_LED_RED
|
|
bool
|
|
prompt "Red"
|
|
help
|
|
Lit Run LED red.
|
|
|
|
config RUN_LED_GREEN
|
|
bool
|
|
prompt "Green"
|
|
help
|
|
Lit Run LED green.
|
|
|
|
config RUN_LED_OFF
|
|
bool
|
|
prompt "Off"
|
|
help
|
|
Do not lit Run LED.
|
|
|
|
endchoice
|
|
|
|
endif
|