xen/arm: Add EARLY_PRINT support for Broadcom brcm platform.
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
@@ -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
Quoted 3 lines · Jon Fraser
Enable early print support for the Broadcom A15 platform, brcm.
Signed-off-by Jon Fraser <[email protected]>
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@@ -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
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.
Signed-off-by Jon Fraser <[email protected]>Acked-by Ian Campbell <[email protected]>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@@ -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
Ian Campbell
AppliedQuoted 1 line · Jon Fraser
Yes, it's harmless to the other platforms. Verified with test builds.
Applied, thanks.