package: uboot-sunxi: various changes
[openwrt.git] / package / boot / uboot-sunxi / patches / 102-sunxi-make_CONS_INDEX-configurable.patch
1 From 78d5fab8e345b1273ec8c22d06f1a1d27670b518 Mon Sep 17 00:00:00 2001
2 From: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
3 Date: Tue, 16 Jun 2015 10:59:38 +0200
4 Subject: ARM: sunxi: Make CONS_INDEX configurable
5
6
7 diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
8 index 2a1cd3c..e155c4c 100644
9 --- a/board/sunxi/Kconfig
10 +++ b/board/sunxi/Kconfig
11 @@ -209,6 +209,14 @@ config SYS_BOARD
12  config SYS_SOC
13         default "sunxi"
14  
15 +config CONS_INDEX
16 +        int "UART used for console"
17 +        range 1 5
18 +        default 1
19 +        ---help---
20 +        Defines the UART port used for serial output. It starts at 1 so UART0 is 1,
21 +        UART1 is 2 and so on.
22 +
23  config UART0_PORT_F
24         bool "UART0 on MicroSD breakout board"
25         default n
26 -- 
27 cgit v0.10.2
28