diff options
| -rw-r--r-- | arch/arm/boot/compressed/Makefile | 4 | ||||
| -rw-r--r-- | arch/arm/boot/compressed/head-vt8500.S | 46 | ||||
| -rw-r--r-- | arch/arm/mach-vt8500/include/mach/hardware.h | 12 | ||||
| -rw-r--r-- | arch/arm/mach-vt8500/include/mach/i8042.h | 18 | ||||
| -rw-r--r-- | arch/arm/mach-vt8500/include/mach/restart.h | 17 | ||||
| -rw-r--r-- | arch/arm/mach-vt8500/timer.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-vt8500/vt8500.c | 2 |
7 files changed, 1 insertions, 100 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index a517153a13ea..537208f22e56 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile | |||
| @@ -54,10 +54,6 @@ ifeq ($(CONFIG_ARCH_SA1100),y) | |||
| 54 | OBJS += head-sa1100.o | 54 | OBJS += head-sa1100.o |
| 55 | endif | 55 | endif |
| 56 | 56 | ||
| 57 | ifeq ($(CONFIG_ARCH_VT8500),y) | ||
| 58 | OBJS += head-vt8500.o | ||
| 59 | endif | ||
| 60 | |||
| 61 | ifeq ($(CONFIG_CPU_XSCALE),y) | 57 | ifeq ($(CONFIG_CPU_XSCALE),y) |
| 62 | OBJS += head-xscale.o | 58 | OBJS += head-xscale.o |
| 63 | endif | 59 | endif |
diff --git a/arch/arm/boot/compressed/head-vt8500.S b/arch/arm/boot/compressed/head-vt8500.S deleted file mode 100644 index 1dc1e21a3be3..000000000000 --- a/arch/arm/boot/compressed/head-vt8500.S +++ /dev/null | |||
| @@ -1,46 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * linux/arch/arm/boot/compressed/head-vt8500.S | ||
| 3 | * | ||
| 4 | * Copyright (C) 2010 Alexey Charkov <alchark@gmail.com> | ||
| 5 | * | ||
| 6 | * VIA VT8500 specific tweaks. This is merged into head.S by the linker. | ||
| 7 | * | ||
| 8 | */ | ||
| 9 | |||
| 10 | #include <linux/linkage.h> | ||
| 11 | #include <asm/mach-types.h> | ||
| 12 | |||
| 13 | .section ".start", "ax" | ||
| 14 | |||
| 15 | __VT8500_start: | ||
| 16 | @ Compare the SCC ID register against a list of known values | ||
| 17 | ldr r1, .SCCID | ||
| 18 | ldr r3, [r1] | ||
| 19 | |||
| 20 | @ VT8500 override | ||
| 21 | ldr r4, .VT8500SCC | ||
| 22 | cmp r3, r4 | ||
| 23 | ldreq r7, .ID_BV07 | ||
| 24 | beq .Lendvt8500 | ||
| 25 | |||
| 26 | @ WM8505 override | ||
| 27 | ldr r4, .WM8505SCC | ||
| 28 | cmp r3, r4 | ||
| 29 | ldreq r7, .ID_8505 | ||
| 30 | beq .Lendvt8500 | ||
| 31 | |||
| 32 | @ Otherwise, leave the bootloader's machine id untouched | ||
| 33 | |||
| 34 | .SCCID: | ||
| 35 | .word 0xd8120000 | ||
| 36 | .VT8500SCC: | ||
| 37 | .word 0x34000102 | ||
| 38 | .WM8505SCC: | ||
| 39 | .word 0x34260103 | ||
| 40 | |||
| 41 | .ID_BV07: | ||
| 42 | .word MACH_TYPE_BV07 | ||
| 43 | .ID_8505: | ||
| 44 | .word MACH_TYPE_WM8505_7IN_NETBOOK | ||
| 45 | |||
| 46 | .Lendvt8500: | ||
diff --git a/arch/arm/mach-vt8500/include/mach/hardware.h b/arch/arm/mach-vt8500/include/mach/hardware.h deleted file mode 100644 index db4163f72c39..000000000000 --- a/arch/arm/mach-vt8500/include/mach/hardware.h +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | /* arch/arm/mach-vt8500/include/mach/hardware.h | ||
| 2 | * | ||
| 3 | * This software is licensed under the terms of the GNU General Public | ||
| 4 | * License version 2, as published by the Free Software Foundation, and | ||
| 5 | * may be copied, distributed, and modified under those terms. | ||
| 6 | * | ||
| 7 | * This program is distributed in the hope that it will be useful, | ||
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | * GNU General Public License for more details. | ||
| 11 | * | ||
| 12 | */ | ||
diff --git a/arch/arm/mach-vt8500/include/mach/i8042.h b/arch/arm/mach-vt8500/include/mach/i8042.h deleted file mode 100644 index cd7143cad6f3..000000000000 --- a/arch/arm/mach-vt8500/include/mach/i8042.h +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | /* arch/arm/mach-vt8500/include/mach/i8042.h | ||
| 2 | * | ||
| 3 | * Copyright (C) 2010 Alexey Charkov <alchark@gmail.com> | ||
| 4 | * | ||
| 5 | * This software is licensed under the terms of the GNU General Public | ||
| 6 | * License version 2, as published by the Free Software Foundation, and | ||
| 7 | * may be copied, distributed, and modified under those terms. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | */ | ||
| 15 | |||
| 16 | extern unsigned long wmt_i8042_base __initdata; | ||
| 17 | extern int wmt_i8042_kbd_irq; | ||
| 18 | extern int wmt_i8042_aux_irq; | ||
diff --git a/arch/arm/mach-vt8500/include/mach/restart.h b/arch/arm/mach-vt8500/include/mach/restart.h deleted file mode 100644 index 738979518acb..000000000000 --- a/arch/arm/mach-vt8500/include/mach/restart.h +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | /* linux/arch/arm/mach-vt8500/restart.h | ||
| 2 | * | ||
| 3 | * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz> | ||
| 4 | * | ||
| 5 | * This software is licensed under the terms of the GNU General Public | ||
| 6 | * License version 2, as published by the Free Software Foundation, and | ||
| 7 | * may be copied, distributed, and modified under those terms. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | */ | ||
| 15 | |||
| 16 | void vt8500_setup_restart(void); | ||
| 17 | void vt8500_restart(char mode, const char *cmd); | ||
diff --git a/arch/arm/mach-vt8500/timer.c b/arch/arm/mach-vt8500/timer.c index 050e1833f2d0..3dd21a47881f 100644 --- a/arch/arm/mach-vt8500/timer.c +++ b/arch/arm/mach-vt8500/timer.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * arch/arm/mach-vt8500/timer_dt.c | 2 | * arch/arm/mach-vt8500/timer.c |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz> | 4 | * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz> |
| 5 | * Copyright (C) 2010 Alexey Charkov <alchark@gmail.com> | 5 | * Copyright (C) 2010 Alexey Charkov <alchark@gmail.com> |
diff --git a/arch/arm/mach-vt8500/vt8500.c b/arch/arm/mach-vt8500/vt8500.c index 8d3871f110a5..a5bd28692b06 100644 --- a/arch/arm/mach-vt8500/vt8500.c +++ b/arch/arm/mach-vt8500/vt8500.c | |||
| @@ -31,8 +31,6 @@ | |||
| 31 | #include <linux/of_irq.h> | 31 | #include <linux/of_irq.h> |
| 32 | #include <linux/of_platform.h> | 32 | #include <linux/of_platform.h> |
| 33 | 33 | ||
| 34 | #include <mach/restart.h> | ||
| 35 | |||
| 36 | #include "common.h" | 34 | #include "common.h" |
| 37 | 35 | ||
| 38 | #define LEGACY_GPIO_BASE 0xD8110000 | 36 | #define LEGACY_GPIO_BASE 0xD8110000 |
