diff options
Diffstat (limited to 'arch/arm/mach-mx2/generic.c')
| -rw-r--r-- | arch/arm/mach-mx2/generic.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/mach-mx2/generic.c b/arch/arm/mach-mx2/generic.c index bd51dd04948e..169372f69d8f 100644 --- 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 = { | |||
| 69 | * system startup to create static physical to virtual | 69 | * system startup to create static physical to virtual |
| 70 | * memory map for the IO modules. | 70 | * memory map for the IO modules. |
| 71 | */ | 71 | */ |
| 72 | void __init mxc_map_io(void) | 72 | void __init mx21_map_io(void) |
| 73 | { | 73 | { |
| 74 | mxc_set_cpu_type(MXC_CPU_MX21); | ||
| 75 | |||
| 74 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); | 76 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); |
| 75 | } | 77 | } |
| 78 | |||
| 79 | void __init mx27_map_io(void) | ||
| 80 | { | ||
| 81 | mxc_set_cpu_type(MXC_CPU_MX27); | ||
| 82 | |||
| 83 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); | ||
| 84 | } | ||
| 85 | |||
