openwrt_archive/package/boot/uboot-sunxi/patches/102-sunxi-make_CONS_INDEX-configurable.patch
Zoltan Herpai 5d89fd5b99 package: uboot-sunxi: various changes
- bump to 2016.03
 - add bugfixes related to 2016.03 update
 - sync DTS files with mainline
 - add support for non-standard uEnv.txt
 - add initial support for Theobroma A31-yQ7 devboard

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



SVN-Revision: 49089
2016-03-29 11:42:14 +00:00

29 lines
758 B
Diff

From 78d5fab8e345b1273ec8c22d06f1a1d27670b518 Mon Sep 17 00:00:00 2001
From: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Date: Tue, 16 Jun 2015 10:59:38 +0200
Subject: ARM: sunxi: Make CONS_INDEX configurable
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 2a1cd3c..e155c4c 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -209,6 +209,14 @@ config SYS_BOARD
config SYS_SOC
default "sunxi"
+config CONS_INDEX
+ int "UART used for console"
+ range 1 5
+ default 1
+ ---help---
+ Defines the UART port used for serial output. It starts at 1 so UART0 is 1,
+ UART1 is 2 and so on.
+
config UART0_PORT_F
bool "UART0 on MicroSD breakout board"
default n
--
cgit v0.10.2