Skip to content

Commit 77acc85

Browse files
committed
ARM: mmp: remove device definitions
Since all board support is now gone, a lot of code in the platform is no longer called and can be removed as well. The remaining parts are: * The interrupt numbers for pxa910 are still needed for the power management support. * The 'mfp' device is still statically initialized from platform code, though this could be moved into the pinctrl code * The CPU identification code is used for the cpu_is_mmp*() macros. Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 028908f commit 77acc85

21 files changed

+7
-1565
lines changed

arch/arm/mach-mmp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Makefile for Marvell's PXA168 processors line
44
#
5-
obj-y += common.o devices.o time.o
5+
obj-y += common.o time.o
66

77
# SoC support
88
obj-$(CONFIG_CPU_PXA168) += pxa168.o

arch/arm/mach-mmp/common.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,3 @@ void __init mmp2_map_io(void)
5858
mmp_map_io();
5959
iotable_init(mmp2_io_desc, ARRAY_SIZE(mmp2_io_desc));
6060
}
61-
62-
void mmp_restart(enum reboot_mode mode, const char *cmd)
63-
{
64-
soft_restart(0);
65-
}

arch/arm/mach-mmp/common.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
22
#include <linux/reboot.h>
3-
#define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x)
43

54
extern void mmp_timer_init(int irq, unsigned long rate);
65

76
extern void __init mmp_map_io(void);
87
extern void __init mmp2_map_io(void);
9-
extern void mmp_restart(enum reboot_mode, const char *);

arch/arm/mach-mmp/devices.c

Lines changed: 0 additions & 359 deletions
This file was deleted.

0 commit comments

Comments
 (0)