clps711x.S (e5451c8f8330e03ad3cfa16048b4daf961af434f) | clps711x.S (32981ea5b98682a70fdd27f2246fcd2c4e10126b) |
---|---|
1/* 2 * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> 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 as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 */ 9 10#ifndef CONFIG_DEBUG_CLPS711X_UART2 11#define CLPS711X_UART_PADDR (0x80000000 + 0x0000) | 1/* 2 * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> 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 as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 */ 9 10#ifndef CONFIG_DEBUG_CLPS711X_UART2 11#define CLPS711X_UART_PADDR (0x80000000 + 0x0000) |
12#define CLPS711X_UART_VADDR (0xfeff0000 + 0x0000) | 12#define CLPS711X_UART_VADDR (0xfeff4000 + 0x0000) |
13#else 14#define CLPS711X_UART_PADDR (0x80000000 + 0x1000) | 13#else 14#define CLPS711X_UART_PADDR (0x80000000 + 0x1000) |
15#define CLPS711X_UART_VADDR (0xfeff0000 + 0x1000) | 15#define CLPS711X_UART_VADDR (0xfeff4000 + 0x1000) |
16#endif 17 18#define SYSFLG (0x0140) 19#define SYSFLG_UBUSY (1 << 11) 20#define UARTDR (0x0480) 21 22 .macro addruart, rp, rv, tmp 23 ldr \rv, =CLPS711X_UART_VADDR --- 15 unchanged lines hidden --- | 16#endif 17 18#define SYSFLG (0x0140) 19#define SYSFLG_UBUSY (1 << 11) 20#define UARTDR (0x0480) 21 22 .macro addruart, rp, rv, tmp 23 ldr \rv, =CLPS711X_UART_VADDR --- 15 unchanged lines hidden --- |