aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-arm/config.h
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@linaro.org>2013-04-28 20:14:12 +0100
committerIan Campbell <ian.campbell@citrix.com>2013-05-13 12:00:01 +0100
commit53a0714c81b1584f1fe41e13b1a05dca632f6509 (patch)
tree79fa9a97fc26df8b7358c12a5aeb3d401c5475c9 /xen/include/asm-arm/config.h
parent237c94508b149af506e20dd1ad8bcd57b49201f9 (diff)
downloadxen-53a0714c81b1584f1fe41e13b1a05dca632f6509.tar.gz
xen-53a0714c81b1584f1fe41e13b1a05dca632f6509.tar.bz2
xen-53a0714c81b1584f1fe41e13b1a05dca632f6509.zip
xen/arm: Don't use pl011 UART by default for early printk
Add CONFIG_EARLY_PRINTK options in configs/arm{32,64}.mk to let the user to choose if he wants to have early output, ie before the console is initialized. This code is specific for each UART. When CONFIG_EARLY_PRINTK is enabled, Xen will only be able to run on a board with this UART. If a developper wants to add support for a new UART, he must implement the following assembly macro/define: - EALY_UART_BASE_ADDRESS: variable which contains the physical base address for the UART - early_uart_init: initialize the UART - early_uart_ready: check and wait until the UART can transmit a new character - early_uart_transmit: transmit a character For more details about the parameters of each function, see arm{32,64}/debug-pl011.inc comments. Signed-off-by: Julien Grall <julien.grall@linaro.org> Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/asm-arm/config.h')
-rw-r--r--xen/include/asm-arm/config.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h
index 75992027ff..6414c895b7 100644
--- a/xen/include/asm-arm/config.h
+++ b/xen/include/asm-arm/config.h
@@ -141,8 +141,6 @@ extern unsigned long frametable_virt_end;
#define watchdog_disable() ((void)0)
#define watchdog_enable() ((void)0)
-/* Board-specific: base address of PL011 UART */
-#define EARLY_UART_ADDRESS 0x1c090000
/* Board-specific: base address of GIC + its regs */
#define GIC_BASE_ADDRESS 0x2c000000
#define GIC_DR_OFFSET 0x1000