Felix Brack | 85ab045 | 2018-01-23 18:27:22 +0100 | [diff] [blame] | 1 | # Copyright (C) 2018 EETS GmbH - http://www.eets.ch/ |
| 2 | # |
| 3 | # SPDX-License-Identifier: GPL-2.0+ |
| 4 | # |
| 5 | |
| 6 | if TARGET_PDU001 |
| 7 | |
| 8 | config SYS_BOARD |
| 9 | default "pdu001" |
| 10 | |
| 11 | config SYS_VENDOR |
| 12 | default "eets" |
| 13 | |
| 14 | config SYS_SOC |
| 15 | default "am33xx" |
| 16 | |
| 17 | config SYS_CONFIG_NAME |
| 18 | default "pdu001" |
| 19 | |
Felix Brack | 85ab045 | 2018-01-23 18:27:22 +0100 | [diff] [blame] | 20 | choice |
| 21 | prompt "State of Run LED" |
Eugeniu Rosca | ceddd3e | 2018-05-19 14:13:51 +0200 | [diff] [blame] | 22 | default RUN_LED_RED |
Felix Brack | 85ab045 | 2018-01-23 18:27:22 +0100 | [diff] [blame] | 23 | help |
| 24 | The PDU001 has a bi-color (red/green) LED labeled 'Run' which |
| 25 | can be used to indicate the operating state of the board. By |
| 26 | default it will be lit red by U-Boot. Later in the start-up |
| 27 | process it can be changed to green (or heartbeat or anything else) |
| 28 | by the kernel or some other software. |
| 29 | |
| 30 | config RUN_LED_RED |
| 31 | bool |
| 32 | prompt "Red" |
| 33 | help |
| 34 | Lit Run LED red. |
| 35 | |
| 36 | config RUN_LED_GREEN |
| 37 | bool |
| 38 | prompt "Green" |
| 39 | help |
| 40 | Lit Run LED green. |
| 41 | |
| 42 | config RUN_LED_OFF |
| 43 | bool |
| 44 | prompt "Off" |
| 45 | help |
| 46 | Do not lit Run LED. |
| 47 | |
| 48 | endchoice |
| 49 | |
| 50 | endif |