diff options
Diffstat (limited to 'arch/powerpc/platforms/83xx/mpc834x_sys.c')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc834x_sys.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc834x_sys.c b/arch/powerpc/platforms/83xx/mpc834x_sys.c index 7c18b4cd5d..7e789d2420 100644 --- a/arch/powerpc/platforms/83xx/mpc834x_sys.c +++ b/arch/powerpc/platforms/83xx/mpc834x_sys.c | |||
@@ -158,25 +158,25 @@ static int __init mpc834x_rtc_hookup(void) | |||
158 | late_initcall(mpc834x_rtc_hookup); | 158 | late_initcall(mpc834x_rtc_hookup); |
159 | #endif | 159 | #endif |
160 | 160 | ||
161 | void __init platform_init(void) | 161 | /* |
162 | * Called very early, MMU is off, device-tree isn't unflattened | ||
163 | */ | ||
164 | static int __init mpc834x_sys_probe(void) | ||
162 | { | 165 | { |
163 | /* setup the PowerPC module struct */ | 166 | /* We always match for now, eventually we should look at the flat |
164 | ppc_md.setup_arch = mpc834x_sys_setup_arch; | 167 | dev tree to ensure this is the board we are suppose to run on |
165 | 168 | */ | |
166 | ppc_md.init_IRQ = mpc834x_sys_init_IRQ; | 169 | return 1; |
167 | ppc_md.get_irq = ipic_get_irq; | ||
168 | |||
169 | ppc_md.restart = mpc83xx_restart; | ||
170 | |||
171 | ppc_md.time_init = mpc83xx_time_init; | ||
172 | ppc_md.set_rtc_time = NULL; | ||
173 | ppc_md.get_rtc_time = NULL; | ||
174 | ppc_md.calibrate_decr = generic_calibrate_decr; | ||
175 | |||
176 | ppc_md.progress = udbg_progress; | ||
177 | |||
178 | if (ppc_md.progress) | ||
179 | ppc_md.progress("mpc834x_sys_init(): exit", 0); | ||
180 | |||
181 | return; | ||
182 | } | 170 | } |
171 | |||
172 | define_machine(mpc834x_sys) { | ||
173 | .name = "MPC834x SYS", | ||
174 | .probe = mpc834x_sys_probe, | ||
175 | .setup_arch = mpc834x_sys_setup_arch, | ||
176 | .init_IRQ = mpc834x_sys_init_IRQ, | ||
177 | .get_irq = ipic_get_irq, | ||
178 | .restart = mpc83xx_restart, | ||
179 | .time_init = mpc83xx_time_init, | ||
180 | .calibrate_decr = generic_calibrate_decr, | ||
181 | .progress = udbg_progress, | ||
182 | }; | ||