diff options
Diffstat (limited to 'arch/arm/mach-shmobile/setup-sh7372.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh7372.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index a83cf51fc09..12b437801f0 100644 --- a/arch/arm/mach-shmobile/setup-sh7372.c +++ b/arch/arm/mach-shmobile/setup-sh7372.c | |||
@@ -33,9 +33,28 @@ | |||
33 | #include <linux/pm_domain.h> | 33 | #include <linux/pm_domain.h> |
34 | #include <mach/hardware.h> | 34 | #include <mach/hardware.h> |
35 | #include <mach/sh7372.h> | 35 | #include <mach/sh7372.h> |
36 | #include <mach/common.h> | ||
37 | #include <asm/mach/map.h> | ||
36 | #include <asm/mach-types.h> | 38 | #include <asm/mach-types.h> |
37 | #include <asm/mach/arch.h> | 39 | #include <asm/mach/arch.h> |
38 | 40 | ||
41 | static struct map_desc sh7372_io_desc[] __initdata = { | ||
42 | /* create a 1:1 entity map for 0xe6xxxxxx | ||
43 | * used by CPGA, INTC and PFC. | ||
44 | */ | ||
45 | { | ||
46 | .virtual = 0xe6000000, | ||
47 | .pfn = __phys_to_pfn(0xe6000000), | ||
48 | .length = 256 << 20, | ||
49 | .type = MT_DEVICE_NONSHARED | ||
50 | }, | ||
51 | }; | ||
52 | |||
53 | void __init sh7372_map_io(void) | ||
54 | { | ||
55 | iotable_init(sh7372_io_desc, ARRAY_SIZE(sh7372_io_desc)); | ||
56 | } | ||
57 | |||
39 | /* SCIFA0 */ | 58 | /* SCIFA0 */ |
40 | static struct plat_sci_port scif0_platform_data = { | 59 | static struct plat_sci_port scif0_platform_data = { |
41 | .mapbase = 0xe6c40000, | 60 | .mapbase = 0xe6c40000, |
@@ -1049,4 +1068,7 @@ void __init sh7372_add_early_devices(void) | |||
1049 | { | 1068 | { |
1050 | early_platform_add_devices(sh7372_early_devices, | 1069 | early_platform_add_devices(sh7372_early_devices, |
1051 | ARRAY_SIZE(sh7372_early_devices)); | 1070 | ARRAY_SIZE(sh7372_early_devices)); |
1071 | |||
1072 | /* setup early console here as well */ | ||
1073 | shmobile_setup_console(); | ||
1052 | } | 1074 | } |