41039796a02db0c6c0eb9aa172897a963486ad1e
[openwrt/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 --- a/arch/arm/mach-sunxi/Kconfig
8 +++ b/arch/arm/mach-sunxi/Kconfig
9 @@ -412,6 +412,14 @@ config SYS_BOARD
10 config SYS_SOC
11 default "sunxi"
12
13 +config CONS_INDEX
14 + int "UART used for console"
15 + range 1 5
16 + default 1
17 + ---help---
18 + Defines the UART port used for serial output. It starts at 1 so UART0 is 1,
19 + UART1 is 2 and so on.
20 +
21 config UART0_PORT_F
22 bool "UART0 on MicroSD breakout board"
23 default n