diff options
author | Andrew Lunn <andrew@lunn.ch> | 2011-12-07 15:48:06 -0500 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-12-13 18:46:55 -0500 |
commit | 45173d5ed4c9a397db31623bf6469efbd3a239cd (patch) | |
tree | d4efe8af8c7b23ed2a97d2686a88037ea6bc7758 /arch/arm/mach-kirkwood/addr-map.c | |
parent | b6d1c33a31deb1784c1d34070db6e84fd6f9d870 (diff) |
ARM: Orion: mbus_dram_info consolidation
Move the *_mbus_dram_info structure into the orion platform and call it
orion_mbus_dram_info everywhere.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Michael Walle <michael@walle.cc>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/addr-map.c')
-rw-r--r-- | arch/arm/mach-kirkwood/addr-map.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-kirkwood/addr-map.c b/arch/arm/mach-kirkwood/addr-map.c index 935392f7e13f..e9a7180863d9 100644 --- a/arch/arm/mach-kirkwood/addr-map.c +++ b/arch/arm/mach-kirkwood/addr-map.c | |||
@@ -35,8 +35,6 @@ | |||
35 | #define ATTR_PCIE1_MEM 0xd8 | 35 | #define ATTR_PCIE1_MEM 0xd8 |
36 | #define ATTR_SRAM 0x01 | 36 | #define ATTR_SRAM 0x01 |
37 | 37 | ||
38 | struct mbus_dram_target_info kirkwood_mbus_dram_info; | ||
39 | |||
40 | /* | 38 | /* |
41 | * Description of the windows needed by the platform code | 39 | * Description of the windows needed by the platform code |
42 | */ | 40 | */ |
@@ -88,6 +86,5 @@ void __init kirkwood_setup_cpu_mbus(void) | |||
88 | /* | 86 | /* |
89 | * Setup MBUS dram target info. | 87 | * Setup MBUS dram target info. |
90 | */ | 88 | */ |
91 | orion_setup_cpu_mbus_target(&addr_map_cfg, &kirkwood_mbus_dram_info, | 89 | orion_setup_cpu_mbus_target(&addr_map_cfg, DDR_WINDOW_CPU_BASE); |
92 | DDR_WINDOW_CPU_BASE); | ||
93 | } | 90 | } |