You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
277 B
ArmAsm

#include <mach/hardware.h>
.macro addruart, rp, rv, tmp
ldr \rp, =_PHYS_CONFADDR
ldr \rv, =_VIRT_CONFADDR
orr \rp, \rp, #_CONFOFFSET_UART
orr \rv, \rv, #_CONFOFFSET_UART
.endm
#define UART_SHIFT 2
#include <asm/hardware/debug-8250.S>