diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-04-07 05:13:25 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-05-19 07:11:28 -0400 |
commit | 13cf8df97d075cf61445c689a30c8b0ce70b415f (patch) | |
tree | 7c9294508d8983a9a11b2ee6e8001050e31e1f69 /arch/arm/mach-mxc91231/mm.c | |
parent | f142b6196891660b329408e71573f97475823667 (diff) |
ARM: remove support for mxc91231
Since support for mxc91231 was introduced 2009 it only saw patches that
were part of (mxc or arm) global cleanups. The only supported machine
only had 4 devices (2x UART, sdhc, watchdog).
Cc: Dmitriy Taychenachev <dimichxp@gmail.com>
LAKML-Reference: 1302211482-17926-1-git-send-email-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxc91231/mm.c')
-rw-r--r-- | arch/arm/mach-mxc91231/mm.c | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/arch/arm/mach-mxc91231/mm.c b/arch/arm/mach-mxc91231/mm.c deleted file mode 100644 index a77f6daf6a26..000000000000 --- a/arch/arm/mach-mxc91231/mm.c +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 1999,2000 Arm Limited | ||
3 | * Copyright (C) 2000 Deep Blue Solutions Ltd | ||
4 | * Copyright (C) 2002 Shane Nay (shane@minirl.com) | ||
5 | * Copyright 2004-2005 Freescale Semiconductor, Inc. All Rights Reserved. | ||
6 | * - add MXC specific definitions | ||
7 | * Copyright 2006 Motorola, Inc. | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 2 of the License, or | ||
12 | * (at your option) any later version. | ||
13 | * | ||
14 | * This program is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | */ | ||
19 | |||
20 | #include <linux/mm.h> | ||
21 | #include <linux/init.h> | ||
22 | #include <mach/hardware.h> | ||
23 | #include <mach/common.h> | ||
24 | #include <asm/pgtable.h> | ||
25 | #include <asm/mach/map.h> | ||
26 | |||
27 | /* | ||
28 | * This structure defines the MXC memory map. | ||
29 | */ | ||
30 | static struct map_desc mxc91231_io_desc[] __initdata = { | ||
31 | imx_map_entry(MXC91231, L2CC, MT_DEVICE), | ||
32 | imx_map_entry(MXC91231, X_MEMC, MT_DEVICE), | ||
33 | imx_map_entry(MXC91231, ROMP, MT_DEVICE), | ||
34 | imx_map_entry(MXC91231, AVIC, MT_DEVICE), | ||
35 | imx_map_entry(MXC91231, AIPS1, MT_DEVICE), | ||
36 | imx_map_entry(MXC91231, SPBA0, MT_DEVICE), | ||
37 | imx_map_entry(MXC91231, SPBA1, MT_DEVICE), | ||
38 | imx_map_entry(MXC91231, AIPS2, MT_DEVICE), | ||
39 | }; | ||
40 | |||
41 | /* | ||
42 | * This function initializes the memory map. It is called during the | ||
43 | * system startup to create static physical to virtual memory map for | ||
44 | * the IO modules. | ||
45 | */ | ||
46 | void __init mxc91231_map_io(void) | ||
47 | { | ||
48 | iotable_init(mxc91231_io_desc, ARRAY_SIZE(mxc91231_io_desc)); | ||
49 | } | ||
50 | |||
51 | void __init mxc91231_init_early(void) | ||
52 | { | ||
53 | mxc_set_cpu_type(MXC_CPU_MXC91231); | ||
54 | } | ||
55 | |||
56 | int mxc91231_register_gpios(void); | ||
57 | |||
58 | void __init mxc91231_init_irq(void) | ||
59 | { | ||
60 | mxc91231_register_gpios(); | ||
61 | mxc_init_irq(MXC91231_IO_ADDRESS(MXC91231_AVIC_BASE_ADDR)); | ||
62 | } | ||