]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
am57x: Move CONS_INDEX to Kconfig
authorDaniel Allred <d-allred@ti.com>
Thu, 7 Apr 2016 02:59:34 +0000 (21:59 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 18 Apr 2016 21:11:31 +0000 (17:11 -0400)
- 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 <d-allred@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ti/am57xx/Kconfig
configs/am57xx_evm_defconfig
configs/am57xx_evm_nodt_defconfig

index 17745ff7ea6588e35ff8e99b89315abf86622daf..87654f9799565ebd4aaf11901f7642441bbab95f 100644 (file)
@@ -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
index 10902876a100e1216a2974759c8186d6e0901302..e40c24a198450bbac785c8d15438b72c4710270f 100644 (file)
@@ -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
index 7641db5051dd2e9c6eb7ff255ffa37d1e525b825..cb9171946809a67e6a51405dae44b9cc272ef653 100644 (file)
@@ -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