diff options
author | Stefan Roese <sr@denx.de> | 2012-11-19 06:09:41 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-11-20 09:36:21 -0500 |
commit | aa25115aff14a149a6b611fe54776c142e483781 (patch) | |
tree | 2c921beb5fde7c9e6f2c238b8d2321892e3a09c0 /arch/arm/include | |
parent | de0bf33fc2b0b1d4b1419adf645fb36e9e52781a (diff) |
ARM: sunxi: Add earlyprintk support for UART0 (sun4i)
Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/debug/sunxi.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/include/debug/sunxi.S b/arch/arm/include/debug/sunxi.S index 3bf61ca0df75..04eb56d5db2c 100644 --- a/arch/arm/include/debug/sunxi.S +++ b/arch/arm/include/debug/sunxi.S | |||
@@ -10,7 +10,10 @@ | |||
10 | * published by the Free Software Foundation. | 10 | * published by the Free Software Foundation. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #ifdef CONFIG_DEBUG_SUNXI_UART1 | 13 | #if defined(CONFIG_DEBUG_SUNXI_UART0) |
14 | #define SUNXI_UART_DEBUG_PHYS_BASE 0x01c28000 | ||
15 | #define SUNXI_UART_DEBUG_VIRT_BASE 0xf1c28000 | ||
16 | #elif defined(CONFIG_DEBUG_SUNXI_UART1) | ||
14 | #define SUNXI_UART_DEBUG_PHYS_BASE 0x01c28400 | 17 | #define SUNXI_UART_DEBUG_PHYS_BASE 0x01c28400 |
15 | #define SUNXI_UART_DEBUG_VIRT_BASE 0xf1c28400 | 18 | #define SUNXI_UART_DEBUG_VIRT_BASE 0xf1c28400 |
16 | #endif | 19 | #endif |