summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-03-28 23:36:03 +0900
committerPaul Mundt <lethal@hera.kernel.org>2007-05-07 02:11:55 +0000
commit0264f1603904dbee3196abc748a53fb0b23b8046 (patch)
tree43678111c8404b9b957c79ed4d1168f4d40939e1 /arch/sh/boards
parent652b9672cfc4000382f0f3f41907d9d32e5bd327 (diff)
downloadblackbird-obmc-linux-0264f1603904dbee3196abc748a53fb0b23b8046.tar.gz
blackbird-obmc-linux-0264f1603904dbee3196abc748a53fb0b23b8046.zip
sh: Tidy up L-BOX area5 addresses.
L-BOX can use the normal PA_AREA5_IO, there's no reason for it to reproduce it. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r--arch/sh/boards/lboxre2/setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/boards/lboxre2/setup.c b/arch/sh/boards/lboxre2/setup.c
index fc3cba3f0606..4e20f7c63bf3 100644
--- a/arch/sh/boards/lboxre2/setup.c
+++ b/arch/sh/boards/lboxre2/setup.c
@@ -15,6 +15,7 @@
#include <linux/platform_device.h>
#include <linux/pata_platform.h>
#include <asm/machvec.h>
+#include <asm/addrspace.h>
#include <asm/lboxre2.h>
#include <asm/io.h>
@@ -53,7 +54,7 @@ static int __init lboxre2_devices_setup(void)
unsigned long paddrbase, psize;
/* open I/O area window */
- paddrbase = virt_to_phys((void*)CONFIG_CF0_BASE_ADDR);
+ paddrbase = virt_to_phys((void*)PA_AREA5_IO);
psize = PAGE_SIZE;
prot = PAGE_KERNEL_PCC( 1 , _PAGE_PCC_IO16);
cf0_io_base = (u32)p3_ioremap(paddrbase, psize, prot.pgprot);
OpenPOWER on IntegriCloud