]> xenbits.xensource.com Git - people/gdunlap/xen.git/commitdiff
xen/arm: Add early printk support for ThunderX platform
authorVijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Wed, 4 Mar 2015 06:06:24 +0000 (11:36 +0530)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 5 Mar 2015 16:40:59 +0000 (16:40 +0000)
ThunderX platform uses pl011 uart.

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- added to early-printk.txt ]

docs/misc/arm/early-printk.txt
xen/arch/arm/Rules.mk

index 1ca2a5530a931e74395152fdc3456ec92d5f9a4c..859c63528d9e6cce32e1103a7415034cd1a73196 100644 (file)
@@ -20,6 +20,7 @@ where mach is the name of the machine:
   - hip04-d01: printk with 8250 on HiSilicon Hip-04 D01
   - seattle: printk with pl011 for AMD Seattle processor
   - lager: printk with SCIF0 on Renesas R-Car H2 processors
+  - thunderx: printk with pl011 for Cavium ThunderX processor
 
 The base address and baud rate is hardcoded in xen/arch/arm/Rules.mk,
 see there when adding support for new machines.
index c7bd227d17fa1897e755f1096a5ce33399358fe2..54efa91dca65b751c7bd7015f66dbe482f6d4463 100644 (file)
@@ -113,6 +113,10 @@ ifeq ($(CONFIG_EARLY_PRINTK), lager)
 EARLY_PRINTK_INC := scif
 EARLY_UART_BASE_ADDRESS := 0xe6e60000
 endif
+ifeq ($(CONFIG_EARLY_PRINTK), thunderx)
+EARLY_PRINTK_INC := pl011
+EARLY_UART_BASE_ADDRESS := 0x87e024000000
+endif
 
 ifneq ($(EARLY_PRINTK_INC),)
 EARLY_PRINTK := y