summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorTao Huang <huangtao@rock-chips.com>2018-11-03 18:17:03 +0800
committerTao Huang <huangtao@rock-chips.com>2018-11-03 18:17:03 +0800
commit95656feb65c71384e26ebc11a9a29bf9bf8f313a (patch)
tree225498e05518b21ec363e1cc8b1651f808dc98fe /arch/arm/include
parent75c2080503aa64c97163e1b5535cc47affc5824e (diff)
ARM: remove unused include/debug/rockchip.S
Change-Id: I1a9a739de7c5aa873830f096e87ce676188a866f Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/debug/rockchip.S36
1 files changed, 0 insertions, 36 deletions
diff --git a/arch/arm/include/debug/rockchip.S b/arch/arm/include/debug/rockchip.S
deleted file mode 100644
index 39b907e25da2..000000000000
--- a/arch/arm/include/debug/rockchip.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2013-2014 ROCKCHIP, Inc.
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- */
-
-#include <linux/rockchip/iomap.h>
-#define UART_SHIFT 2
-
- .macro addruart, rp, rv, tmp
- mrc p15, 0, \tmp, c0, c0, 0
- ldr \rv, = 0x413fc090
- cmp \tmp, \rv
- ldreq \rp, = RK3188_UART2_PHYS
- beq 10f
- ldr \rv, = 0x410fc075
- cmp \tmp, \rv
- ldreq \rp, = RK3036_UART2_PHYS
- beq 10f
- ldr \rp, = RK3288_UART_DBG_PHYS
-10: ldr \rv, = 0xfec00000
- mov \tmp, \rp
- bic \tmp, \tmp, #0xff000000
- bic \tmp, \tmp, #0x00f00000
- add \rv, \rv, \tmp
- .endm
-
-#include "8250_32.S"