diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:18:56 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:18:56 -0400 |
commit | f70cd65658388ca2a06071bdbd8a5a6beac5aa47 (patch) | |
tree | 25e49869ae2ef81f1b66740efc9e179d693e8f37 /arch | |
parent | c6b9dafce3e3b434a3e7ffd5072815c03d18cc84 (diff) |
[ARM] 2982/1: Replace map_desc.physical with map_desc.pfn: aaec2000
Patch from Deepak Saxena
aaec2000 map_desc.pfn conversion
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-aaec2000/core.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/mach-aaec2000/core.c b/arch/arm/mach-aaec2000/core.c index aece0cd4f0a3..9be6c3213254 100644 --- a/arch/arm/mach-aaec2000/core.c +++ b/arch/arm/mach-aaec2000/core.c | |||
@@ -40,9 +40,17 @@ | |||
40 | * default mapping provided here. | 40 | * default mapping provided here. |
41 | */ | 41 | */ |
42 | static struct map_desc standard_io_desc[] __initdata = { | 42 | static struct map_desc standard_io_desc[] __initdata = { |
43 | /* virtual physical length type */ | 43 | { |
44 | { VIO_APB_BASE, PIO_APB_BASE, IO_APB_LENGTH, MT_DEVICE }, | 44 | .virtual = VIO_APB_BASE, |
45 | { VIO_AHB_BASE, PIO_AHB_BASE, IO_AHB_LENGTH, MT_DEVICE } | 45 | .physical = __phys_to_pfn(PIO_APB_BASE), |
46 | .length = IO_APB_LENGTH, | ||
47 | .type = MT_DEVICE | ||
48 | }, { | ||
49 | .virtual = VIO_AHB_BASE, | ||
50 | .physical = __phys_to_pfn(PIO_AHB_BASE), | ||
51 | .length = IO_AHB_LENGTH, | ||
52 | .type = MT_DEVICE | ||
53 | } | ||
46 | }; | 54 | }; |
47 | 55 | ||
48 | void __init aaec2000_map_io(void) | 56 | void __init aaec2000_map_io(void) |