diff options
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/platforms/prep_setup.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/ppc/platforms/prep_setup.c b/arch/ppc/platforms/prep_setup.c index a0fc628ffb1e..fa46f8ce5c71 100644 --- a/arch/ppc/platforms/prep_setup.c +++ b/arch/ppc/platforms/prep_setup.c | |||
@@ -1067,15 +1067,13 @@ prep_map_io(void) | |||
1067 | static int __init | 1067 | static int __init |
1068 | prep_request_io(void) | 1068 | prep_request_io(void) |
1069 | { | 1069 | { |
1070 | if (_machine == _MACH_prep) { | ||
1071 | #ifdef CONFIG_NVRAM | 1070 | #ifdef CONFIG_NVRAM |
1072 | request_region(PREP_NVRAM_AS0, 0x8, "nvram"); | 1071 | request_region(PREP_NVRAM_AS0, 0x8, "nvram"); |
1073 | #endif | 1072 | #endif |
1074 | request_region(0x00,0x20,"dma1"); | 1073 | request_region(0x00,0x20,"dma1"); |
1075 | request_region(0x40,0x20,"timer"); | 1074 | request_region(0x40,0x20,"timer"); |
1076 | request_region(0x80,0x10,"dma page reg"); | 1075 | request_region(0x80,0x10,"dma page reg"); |
1077 | request_region(0xc0,0x20,"dma2"); | 1076 | request_region(0xc0,0x20,"dma2"); |
1078 | } | ||
1079 | 1077 | ||
1080 | return 0; | 1078 | return 0; |
1081 | } | 1079 | } |