diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-rpc/riscpc.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/arch/arm/mach-rpc/riscpc.c b/arch/arm/mach-rpc/riscpc.c index e3587efec4bf..5c4ac1c008a6 100644 --- a/arch/arm/mach-rpc/riscpc.c +++ b/arch/arm/mach-rpc/riscpc.c | |||
@@ -61,9 +61,22 @@ static int __init parse_tag_acorn(const struct tag *tag) | |||
61 | __tagtable(ATAG_ACORN, parse_tag_acorn); | 61 | __tagtable(ATAG_ACORN, parse_tag_acorn); |
62 | 62 | ||
63 | static struct map_desc rpc_io_desc[] __initdata = { | 63 | static struct map_desc rpc_io_desc[] __initdata = { |
64 | { SCREEN_BASE, SCREEN_START, 2*1048576, MT_DEVICE }, /* VRAM */ | 64 | { /* VRAM */ |
65 | { (u32)IO_BASE, IO_START, IO_SIZE , MT_DEVICE }, /* IO space */ | 65 | .virtual = SCREEN_BASE, |
66 | { EASI_BASE, EASI_START, EASI_SIZE, MT_DEVICE } /* EASI space */ | 66 | .pfn = __phys_to_pfn(SCREEN_START), |
67 | .length = 2*1048576, | ||
68 | .type = MT_DEVICE | ||
69 | }, { /* IO space */ | ||
70 | .virtual = (u32)IO_BASE, | ||
71 | .pfn = __phys_to_pfn(IO_START), | ||
72 | .length = IO_SIZE , | ||
73 | .type = MT_DEVICE | ||
74 | }, { /* EASI space */ | ||
75 | .virtual = EASI_BASE, | ||
76 | .pfn = __phys_to_pfn(EASI_START), | ||
77 | .length = EASI_SIZE, | ||
78 | .type = MT_DEVICE | ||
79 | } | ||
67 | }; | 80 | }; |
68 | 81 | ||
69 | static void __init rpc_map_io(void) | 82 | static void __init rpc_map_io(void) |