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
274 B
ArmAsm

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