U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] am57x: Move CONS_INDEX to Kconfig
@ 2016-04-07  2:59 Daniel Allred
  2016-04-08 19:45 ` Tom Rini
  2016-04-21 11:21 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Allred @ 2016-04-07  2:59 UTC (permalink / raw)
  To: u-boot

    - 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>
---
 board/ti/am57xx/Kconfig           | 9 +++++++++
 configs/am57xx_evm_defconfig      | 1 -
 configs/am57xx_evm_nodt_defconfig | 1 -
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/board/ti/am57xx/Kconfig b/board/ti/am57xx/Kconfig
index 17745ff..87654f9 100644
--- a/board/ti/am57xx/Kconfig
+++ b/board/ti/am57xx/Kconfig
@@ -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
diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index 1090287..e40c24a 100644
--- a/configs/am57xx_evm_defconfig
+++ b/configs/am57xx_evm_defconfig
@@ -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
diff --git a/configs/am57xx_evm_nodt_defconfig b/configs/am57xx_evm_nodt_defconfig
index 7641db5..cb91719 100644
--- a/configs/am57xx_evm_nodt_defconfig
+++ b/configs/am57xx_evm_nodt_defconfig
@@ -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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] am57x: Move CONS_INDEX to Kconfig
  2016-04-07  2:59 [U-Boot] [PATCH] am57x: Move CONS_INDEX to Kconfig Daniel Allred
@ 2016-04-08 19:45 ` Tom Rini
  2016-04-21 11:21 ` [U-Boot] " Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-04-08 19:45 UTC (permalink / raw)
  To: u-boot

On Wed, Apr 06, 2016 at 09:59:34PM -0500, Daniel Allred wrote:

>     - 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>

-- 
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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] am57x: Move CONS_INDEX to Kconfig
  2016-04-07  2:59 [U-Boot] [PATCH] am57x: Move CONS_INDEX to Kconfig Daniel Allred
  2016-04-08 19:45 ` Tom Rini
@ 2016-04-21 11:21 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-04-21 11:21 UTC (permalink / raw)
  To: u-boot

On Wed, Apr 06, 2016 at 09:59:34PM -0500, Daniel Allred wrote:

> - 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>

Applied to u-boot/master, thanks!

-- 
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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-21 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-07  2:59 [U-Boot] [PATCH] am57x: Move CONS_INDEX to Kconfig Daniel Allred
2016-04-08 19:45 ` Tom Rini
2016-04-21 11:21 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox