aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-picoxcell/io.c
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2011-12-12 20:21:39 +0000
committerJamie Iles <jamie@jamieiles.com>2011-12-18 10:48:20 +0000
commit8f37a0b49656ed961598351da3ebdd89f2d2e5b4 (patch)
tree198dd1837c1141b09c2e2acecd713664e393f0a4 /arch/arm/mach-picoxcell/io.c
parent98e27a5c13badb5c56d9d1d6c8ec210753ac1195 (diff)
ARM: picoxcell: move io mappings to common.c
Now that we have lost our machine specific ioremap() we just have one mapping that covers all peripherals. Move this to common.c to simplify things a little. Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Diffstat (limited to 'arch/arm/mach-picoxcell/io.c')
-rw-r--r--arch/arm/mach-picoxcell/io.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/arch/arm/mach-picoxcell/io.c b/arch/arm/mach-picoxcell/io.c
deleted file mode 100644
index 39e9b9e8cc37..000000000000
--- a/arch/arm/mach-picoxcell/io.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2011 Picochip Ltd., Jamie Iles
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * All enquiries to support@picochip.com
- */
-#include <linux/io.h>
-#include <linux/mm.h>
-#include <linux/module.h>
-#include <linux/of.h>
-
-#include <asm/mach/map.h>
-
-#include <mach/map.h>
-#include <mach/picoxcell_soc.h>
-
-#include "common.h"
-
-void __init picoxcell_map_io(void)
-{
- struct map_desc io_map = {
- .virtual = PHYS_TO_IO(PICOXCELL_PERIPH_BASE),
- .pfn = __phys_to_pfn(PICOXCELL_PERIPH_BASE),
- .length = PICOXCELL_PERIPH_LENGTH,
- .type = MT_DEVICE,
- };
-
- iotable_init(&io_map, 1);
-}