diff options
author | Pavel Machek <pavel@denx.de> | 2012-10-17 20:16:48 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-10-25 16:52:53 +0200 |
commit | ef3f94412a4d7e107392e7c7cfc3e2d0668aa1aa (patch) | |
tree | e9a3489d60e86ad8c902104ffa2697edf4738c90 /arch/arm/include/debug/socfpga.S | |
parent | 5e3059b2cb6fb412415da08b213549a6aed65d36 (diff) |
ARM: socfpga: Fix socfpga compilation with early_printk() enabled
This fixes early_printk() compilation for
socfpga. (senduart/busyuart/waituart were missing). It does that by
making Picochip code generic.
Signed-off-by: Pavel Machek <pavel@denx.de>
Acked-by: Dinh Nguyen <dinguyen@altera.com>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/include/debug/socfpga.S')
-rw-r--r-- | arch/arm/include/debug/socfpga.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/debug/socfpga.S b/arch/arm/include/debug/socfpga.S index d6f26d23374f..966b2f994946 100644 --- a/arch/arm/include/debug/socfpga.S +++ b/arch/arm/include/debug/socfpga.S @@ -7,6 +7,9 @@ * published by the Free Software Foundation. */ +#define UART_SHIFT 2 +#define DEBUG_LL_UART_OFFSET 0x00002000 + .macro addruart, rp, rv, tmp mov \rp, #DEBUG_LL_UART_OFFSET orr \rp, \rp, #0x00c00000 @@ -14,3 +17,5 @@ orr \rp, \rp, #0xff000000 @ physical base .endm +#include "8250_32.S" + |