at v3.9-rc5 19 lines 509 B view raw
1/* 2 * Copyright (c) 2011 Picochip Ltd., Jamie Iles 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 * 8 */ 9 10#define UART_SHIFT 2 11#define PICOXCELL_UART1_BASE 0x80230000 12#define PHYS_TO_IO(x) (((x) & 0x00ffffff) | 0xfe000000) 13 14 .macro addruart, rp, rv, tmp 15 ldr \rv, =PHYS_TO_IO(PICOXCELL_UART1_BASE) 16 ldr \rp, =PICOXCELL_UART1_BASE 17 .endm 18 19#include "8250_32.S"