summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-09-01 01:05:32 +0900
committerTom Rini <trini@ti.com>2014-09-04 13:06:00 -0400
commit48ee8d3bb072a4ecf32cef2257e0e35dcf8610f1 (patch)
treea60a923b6d6286dd65839414a155bf659f180412 /board
parente6c9428a2fe584c69374fd2d49ed61fdb1568114 (diff)
downloadu-boot-imx-48ee8d3bb072a4ecf32cef2257e0e35dcf8610f1.zip
u-boot-imx-48ee8d3bb072a4ecf32cef2257e0e35dcf8610f1.tar.gz
u-boot-imx-48ee8d3bb072a4ecf32cef2257e0e35dcf8610f1.tar.bz2
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>
Diffstat (limited to 'board')
-rw-r--r--board/ti/am335x/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/ti/am335x/Kconfig b/board/ti/am335x/Kconfig
index 0e5149c..80701f5 100644
--- a/board/ti/am335x/Kconfig
+++ b/board/ti/am335x/Kconfig
@@ -22,6 +22,7 @@ config SYS_CONFIG_NAME
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