diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2011-08-12 05:39:40 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-10-24 18:34:24 -0400 |
commit | 7cc2e272da3d88c0de9e05b32729402785bd9206 (patch) | |
tree | 47abef81764180bad7399eba690a0407260cf3b0 /arch/mips/alchemy/common | |
parent | b9581b84884eac4146720817a6eb0672074284fb (diff) |
MIPS: Alchemy: more base address cleanup
remove all redundant peripheral base address defines, fix
all affected boards and drivers.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/2700/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/common')
-rw-r--r-- | arch/mips/alchemy/common/platform.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/alchemy/common/platform.c b/arch/mips/alchemy/common/platform.c index 910a3bde9a52..bf1ac414d4bb 100644 --- a/arch/mips/alchemy/common/platform.c +++ b/arch/mips/alchemy/common/platform.c | |||
@@ -194,8 +194,8 @@ static void __init alchemy_setup_usb(int ctype) | |||
194 | #ifdef CONFIG_FB_AU1100 | 194 | #ifdef CONFIG_FB_AU1100 |
195 | static struct resource au1100_lcd_resources[] = { | 195 | static struct resource au1100_lcd_resources[] = { |
196 | [0] = { | 196 | [0] = { |
197 | .start = LCD_PHYS_ADDR, | 197 | .start = AU1100_LCD_PHYS_ADDR, |
198 | .end = LCD_PHYS_ADDR + 0x800 - 1, | 198 | .end = AU1100_LCD_PHYS_ADDR + 0x800 - 1, |
199 | .flags = IORESOURCE_MEM, | 199 | .flags = IORESOURCE_MEM, |
200 | }, | 200 | }, |
201 | [1] = { | 201 | [1] = { |
@@ -223,8 +223,8 @@ static struct platform_device au1100_lcd_device = { | |||
223 | 223 | ||
224 | static struct resource au1200_lcd_resources[] = { | 224 | static struct resource au1200_lcd_resources[] = { |
225 | [0] = { | 225 | [0] = { |
226 | .start = LCD_PHYS_ADDR, | 226 | .start = AU1200_LCD_PHYS_ADDR, |
227 | .end = LCD_PHYS_ADDR + 0x800 - 1, | 227 | .end = AU1200_LCD_PHYS_ADDR + 0x800 - 1, |
228 | .flags = IORESOURCE_MEM, | 228 | .flags = IORESOURCE_MEM, |
229 | }, | 229 | }, |
230 | [1] = { | 230 | [1] = { |
@@ -328,8 +328,8 @@ static struct platform_device au1200_mmc1_device = { | |||
328 | #ifdef SMBUS_PSC_BASE | 328 | #ifdef SMBUS_PSC_BASE |
329 | static struct resource pbdb_smbus_resources[] = { | 329 | static struct resource pbdb_smbus_resources[] = { |
330 | { | 330 | { |
331 | .start = CPHYSADDR(SMBUS_PSC_BASE), | 331 | .start = SMBUS_PSC_BASE, |
332 | .end = CPHYSADDR(SMBUS_PSC_BASE + 0xfffff), | 332 | .end = SMBUS_PSC_BASE + 0xfff, |
333 | .flags = IORESOURCE_MEM, | 333 | .flags = IORESOURCE_MEM, |
334 | }, | 334 | }, |
335 | }; | 335 | }; |