Skip to contentSkip to conversation

xen/arm: Add EARLY_PRINT support for Broadcom brcm platform.

PATCH Applied Jon Fraser 2 participants 4 messages Oct 29, 2013 – Nov 1, 2013

lore
Share & tools
lore

Jon Fraser

author
#0 lore raw

PATCH 1/1 xen/arm: Add EARLY_PRINT support for Broadcom brcm platform.

Enable early print support for the Broadcom A15 platform, brcm.

---
 xen/arch/arm/Rules.mk | 5 +++++
 1 file changed, 5 insertions(+)
xen/arch/arm/Rules.mk +5 -0
index bd79b26..c27c2eb 100644
@@ -77,6 +77,11 @@ EARLY_PRINTK_INC := 8250
 EARLY_UART_BASE_ADDRESS := 0x01c28000
 EARLY_UART_REG_SHIFT := 2
 endif
+ifeq ($(CONFIG_EARLY_PRINTK), brcm)
+EARLY_PRINTK_INC := 8250
+EARLY_UART_BASE_ADDRESS := 0xF0406B00
+EARLY_UART_REG_SHIFT := 2
+endif
 
 ifneq ($(EARLY_PRINTK_INC),)
 EARLY_PRINTK := y
Signature · 1 line
1.7.11.3
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jon Fraser

Enable early print support for the Broadcom A15 platform, brcm.

I suppose this relies on your other patch to handle UARTs which are offset into the page to be functional but it is harmless (at least to ! brcm) platforms until then?

Quoted 20 lines
---
 xen/arch/arm/Rules.mk | 5 +++++
 1 file changed, 5 insertions(+)
xen/arch/arm/Rules.mk +5 -0
index bd79b26..c27c2eb 100644
@@ -77,6 +77,11 @@ EARLY_PRINTK_INC := 8250
 EARLY_UART_BASE_ADDRESS := 0x01c28000
 EARLY_UART_REG_SHIFT := 2
 endif
+ifeq ($(CONFIG_EARLY_PRINTK), brcm)
+EARLY_PRINTK_INC := 8250
+EARLY_UART_BASE_ADDRESS := 0xF0406B00
+EARLY_UART_REG_SHIFT := 2
+endif
 
 ifneq ($(EARLY_PRINTK_INC),)
 EARLY_PRINTK := y
author
#2 lore raw

Yes, it's harmless to the other platforms. Verified with test builds.

Jon

Quoted 34 lines · Ian Campbell
Quoted 3 lines · Jon Fraser

Enable early print support for the Broadcom A15 platform, brcm.

I suppose this relies on your other patch to handle UARTs which are offset into the page to be functional but it is harmless (at least to ! brcm) platforms until then?

Quoted 20 lines
---
 xen/arch/arm/Rules.mk | 5 +++++
 1 file changed, 5 insertions(+)
xen/arch/arm/Rules.mk +5 -0
index bd79b26..c27c2eb 100644
@@ -77,6 +77,11 @@ EARLY_PRINTK_INC := 8250
 EARLY_UART_BASE_ADDRESS := 0x01c28000
 EARLY_UART_REG_SHIFT := 2
 endif
+ifeq ($(CONFIG_EARLY_PRINTK), brcm)
+EARLY_PRINTK_INC := 8250
+EARLY_UART_BASE_ADDRESS := 0xF0406B00
+EARLY_UART_REG_SHIFT := 2
+endif
 
 ifneq ($(EARLY_PRINTK_INC),)
 EARLY_PRINTK := y
Applied
#3 lore raw
Quoted 1 line · Jon Fraser

Yes, it's harmless to the other platforms. Verified with test builds.

Applied, thanks.