u-boot/board/ti/am335x/Kconfig
Masahiro Yamada 48ee8d3bb0 arm: am335x: add Kconfig range attribute to prevent invalid CONS_INDEX
The help message in board/ti/am335x/Kconfig says AM335x has
6 UARTs, so the valid number for CONFIG_CONS_INDEX is from 1 to 6.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Tom Rini <trini@ti.com>
2014-09-04 13:06:00 -04:00

34 lines
571 B
Plaintext

if TARGET_AM335X_EVM
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "am335x"
config SYS_VENDOR
string
default "ti"
config SYS_SOC
string
default "am33xx"
config SYS_CONFIG_NAME
string
default "am335x_evm"
config CONS_INDEX
int "UART used for console"
range 1 6
default 1
help
The AM335x SoC has a total of 6 UARTs (UART0 to UART5 as referenced
in documentation, etc) available to it. Depending on your specific
board you may want something other than UART0 as for example the IDK
uses UART3 so enter 4 here.
endif