git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: Simplify the Makefile in a minor way through use of cc-ifversion
[pandora-kernel.git]
/
arch
/
arm
/
mach-mx2
/
generic.c
diff --git
a/arch/arm/mach-mx2/generic.c
b/arch/arm/mach-mx2/generic.c
index
bd51dd0
..
169372f
100644
(file)
--- a/
arch/arm/mach-mx2/generic.c
+++ b/
arch/arm/mach-mx2/generic.c
@@
-69,7
+69,17
@@
static struct map_desc mxc_io_desc[] __initdata = {
* system startup to create static physical to virtual
* memory map for the IO modules.
*/
* system startup to create static physical to virtual
* memory map for the IO modules.
*/
-void __init mx
c
_map_io(void)
+void __init mx
21
_map_io(void)
{
{
+ mxc_set_cpu_type(MXC_CPU_MX21);
+
iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc));
}
iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc));
}
+
+void __init mx27_map_io(void)
+{
+ mxc_set_cpu_type(MXC_CPU_MX27);
+
+ iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc));
+}
+