Commit 48ee8d3b authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini

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: default avatarMasahiro Yamada <>
Cc: Tom Rini <>
parent e6c9428a
......@@ -22,6 +22,7 @@ config SYS_CONFIG_NAME
int "UART used for console"
range 1 6
default 1
The AM335x SoC has a total of 6 UARTs (UART0 to UART5 as referenced
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment