summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2016-09-04 17:45:15 +0200
committerKlaus Goger <klaus.goger@theobroma-systems.com>2016-09-18 15:52:14 +0200
commit267050c9e0454646be3e819100188f1510367497 (patch)
tree3815ddb026c6376a5854507104aee66faf561d05
parentebee8b81df50d539a8ecec1fc601c8beadd1df6f (diff)
ARM: sun9i: debug: support earlyprintk on UART4
The A80-uQ7 module uses UART4 as its external UART (i.e. as the one UART exposed through the Qseven-compliant pinout). To enable early debugging, we allow UART4 to be selected for earlyprintk. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r--arch/arm/Kconfig.debug10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index a9693b6987a6..4f55ae8855c3 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -1003,6 +1003,14 @@ choice
Say Y here if you want kernel low-level debugging support
on Allwinner A80 based platforms on the UART0.
+ config DEBUG_SUN9I_UART4
+ bool "Kernel low-level debugging messages via sun9i UART4"
+ depends on MACH_SUN9I
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ on Allwinner A80 based platforms on the UART4.
+
config DEBUG_SUNXI_UART0
bool "Kernel low-level debugging messages via sunXi UART0"
depends on ARCH_SUNXI
@@ -1455,6 +1463,7 @@ config DEBUG_UART_PHYS
default 0x02531000 if DEBUG_KEYSTONE_UART1
default 0x03010fe0 if ARCH_RPC
default 0x07000000 if DEBUG_SUN9I_UART0
+ default 0x07001000 if DEBUG_SUN9I_UART4
default 0x09405000 if DEBUG_ZTE_ZX
default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \
DEBUG_VEXPRESS_UART0_CA9
@@ -1582,6 +1591,7 @@ config DEBUG_UART_VIRT
default 0xf4200000 if DEBUG_GEMINI
default 0xf6200000 if DEBUG_PXA_UART1
default 0xf7000000 if DEBUG_SUN9I_UART0
+ default 0xf7001000 if DEBUG_SUN9I_UART4
default 0xf7000000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
DEBUG_S3C2410_UART0)