am57x: Move CONS_INDEX to Kconfig
PATCH 1/1 am57x: Move CONS_INDEX to Kconfig
- Move the CONS_INDEX selection out of CONFIG_SYS_EXTRA_OPTIONS and into Kconfig proper.
- Edit the relevant am57x configs to remove the now unneeded CONFIG_SYS_EXTRA_OPTIONS.
Signed-off-by Daniel Allred <[email protected]>
--- board/ti/am57xx/Kconfig | 9 +++++++++ configs/am57xx_evm_defconfig | 1 - configs/am57xx_evm_nodt_defconfig | 1 - 3 files changed, 9 insertions(+), 2 deletions(-)
board/ti/am57xx/Kconfig +9 -0
@@ -9,6 +9,15 @@ config SYS_VENDOR config SYS_CONFIG_NAME default "am57xx_evm" +config CONS_INDEX + int "UART used for console" + range 1 6 + default 3 + help + The AM57x (and DRA7xx) SoC has a total of 6 UARTs available to it. + Depending on your specific board you may want something other than UART3 + here. + source "board/ti/common/Kconfig" endif
configs/am57xx_evm_defconfig +0 -1
@@ -7,7 +7,6 @@ CONFIG_SPL_STACK_R_ADDR=0x82000000 CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15" CONFIG_SPL=y CONFIG_SPL_STACK_R=y -CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=3" # CONFIG_CMD_IMLS is not set # CONFIG_CMD_FLASH is not set CONFIG_CMD_GPIO=y
configs/am57xx_evm_nodt_defconfig +0 -1
@@ -2,7 +2,6 @@ CONFIG_ARM=y CONFIG_OMAP54XX=y CONFIG_TARGET_BEAGLE_X15=y CONFIG_SPL=y -CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=3" # CONFIG_CMD_IMLS is not set # CONFIG_CMD_FLASH is not set CONFIG_CMD_GPIO=y
Signature · 1 line
1.9.1
PATCH 1/1 am57x: Move CONS_INDEX to Kconfig
Quoted 6 lines · Daniel Allred
- Move the
CONS_INDEXselection out ofCONFIG_SYS_EXTRA_OPTIONSand intoKconfigproper.
- Edit the relevant am57x configs to remove the now unneededCONFIG_SYS_EXTRA_OPTIONS.Signed-off-by Daniel Allred <[email protected]>
Reviewed-by Tom Rini <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160408/9fc8178c/attachment.sig>
Quoted 7 lines · Daniel Allred
- Move the
CONS_INDEXselection out ofCONFIG_SYS_EXTRA_OPTIONSand intoKconfigproper.
- Edit the relevant am57x configs to remove the now unneededCONFIG_SYS_EXTRA_OPTIONS.Signed-off-by Daniel Allred <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160421/bede429e/attachment.sig>