diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/boards/lboxre2/setup.c | 3 |
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 @@ | |||
15 | #include <linux/platform_device.h> | 15 | #include <linux/platform_device.h> |
16 | #include <linux/pata_platform.h> | 16 | #include <linux/pata_platform.h> |
17 | #include <asm/machvec.h> | 17 | #include <asm/machvec.h> |
18 | #include <asm/addrspace.h> | ||
18 | #include <asm/lboxre2.h> | 19 | #include <asm/lboxre2.h> |
19 | #include <asm/io.h> | 20 | #include <asm/io.h> |
20 | 21 | ||
@@ -53,7 +54,7 @@ static int __init lboxre2_devices_setup(void) | |||
53 | unsigned long paddrbase, psize; | 54 | unsigned long paddrbase, psize; |
54 | 55 | ||
55 | /* open I/O area window */ | 56 | /* open I/O area window */ |
56 | paddrbase = virt_to_phys((void*)CONFIG_CF0_BASE_ADDR); | 57 | paddrbase = virt_to_phys((void*)PA_AREA5_IO); |
57 | psize = PAGE_SIZE; | 58 | psize = PAGE_SIZE; |
58 | prot = PAGE_KERNEL_PCC( 1 , _PAGE_PCC_IO16); | 59 | prot = PAGE_KERNEL_PCC( 1 , _PAGE_PCC_IO16); |
59 | cf0_io_base = (u32)p3_ioremap(paddrbase, psize, prot.pgprot); | 60 | cf0_io_base = (u32)p3_ioremap(paddrbase, psize, prot.pgprot); |