amd/seattle: Add early printk message for the platform
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Thu, 2 Oct 2014 21:25:34 +0000 (16:25 -0500)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 3 Oct 2014 09:28:44 +0000 (10:28 +0100)
Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
docs/misc/arm/early-printk.txt
xen/arch/arm/Rules.mk

index 843c4f5d3ce2ec918248efba0bedf01d173626f5..71a0247617e63d3d9f39ed71c79f92571ed75d12 100644 (file)
@@ -18,6 +18,7 @@ where mach is the name of the machine:
   - sun7i: printk with 8250 on Allwinner A20 processors
   - brcm: printk with 8250 on Broadcom 7445D0 boards with A15 processors.
   - hip04-d01: printk with 8250 on HiSilicon Hip-04 D01
+  - seattle: printk with pl011 for AMD Seattle processor
 
 The base address and baud rate is hardcoded in xen/arch/arm/Rules.mk,
 see there when adding support for new machines.
index fe7eea5f843671360fe3be1e8d07120beb5a4c29..572d8547d88ae6495142492767397186df695850 100644 (file)
@@ -106,6 +106,11 @@ EARLY_PRINTK_BAUD := 115200
 EARLY_UART_BASE_ADDRESS := 0xE4007000
 EARLY_UART_REG_SHIFT := 2
 endif
+ifeq ($(CONFIG_EARLY_PRINTK), seattle)
+EARLY_PRINTK_INC := pl011
+EARLY_PRINTK_BAUD := 115200
+EARLY_UART_BASE_ADDRESS := 0xe1010000
+endif
 
 ifneq ($(EARLY_PRINTK_INC),)
 EARLY_PRINTK := y