aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ux500/cpu.c')
-rw-r--r--arch/arm/mach-ux500/cpu.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c
index 608a1372b172..2bc0efbac584 100644
--- a/arch/arm/mach-ux500/cpu.c
+++ b/arch/arm/mach-ux500/cpu.c
@@ -6,7 +6,6 @@
6 */ 6 */
7 7
8#include <linux/platform_device.h> 8#include <linux/platform_device.h>
9#include <linux/amba/bus.h>
10#include <linux/io.h> 9#include <linux/io.h>
11#include <linux/clk.h> 10#include <linux/clk.h>
12 11
@@ -45,20 +44,11 @@ static struct map_desc ux500_io_desc[] __initdata = {
45 __IO_DEV_DESC(UX500_BACKUPRAM0_BASE, SZ_8K), 44 __IO_DEV_DESC(UX500_BACKUPRAM0_BASE, SZ_8K),
46}; 45};
47 46
48static struct amba_device *ux500_amba_devs[] __initdata = {
49 &ux500_pl031_device,
50};
51
52void __init ux500_map_io(void) 47void __init ux500_map_io(void)
53{ 48{
54 iotable_init(ux500_io_desc, ARRAY_SIZE(ux500_io_desc)); 49 iotable_init(ux500_io_desc, ARRAY_SIZE(ux500_io_desc));
55} 50}
56 51
57void __init ux500_init_devices(void)
58{
59 amba_add_devices(ux500_amba_devs, ARRAY_SIZE(ux500_amba_devs));
60}
61
62void __init ux500_init_irq(void) 52void __init ux500_init_irq(void)
63{ 53{
64 gic_dist_init(0, __io_address(UX500_GIC_DIST_BASE), 29); 54 gic_dist_init(0, __io_address(UX500_GIC_DIST_BASE), 29);