CVSROOT: /home/cvs
Module name: linux
Changes by: ralf@ftp.linux-mips.org 05/07/22 19:22:26
Modified files:
arch/mips/vr41xx/common: init.c
Log message:
Plat_init for VR41xx.
diff -urN linux/arch/mips/vr41xx/common/init.c
linux/arch/mips/vr41xx/common/init.c
--- linux/arch/mips/vr41xx/common/init.c 2005/04/18 16:07:37 1.3
+++ linux/arch/mips/vr41xx/common/init.c 2005/07/22 18:22:26 1.4
@@ -58,6 +58,14 @@
board_timer_setup = setup_timer_irq;
}
+void __init plat_setup(void)
+{
+ vr41xx_calculate_clock_frequency();
+
+ timer_init();
+ iomem_resource_init();
+}
+
void __init prom_init(void)
{
int argc, i;
@@ -71,12 +79,6 @@
if (i < (argc - 1))
strcat(arcs_cmdline, " ");
}
-
- vr41xx_calculate_clock_frequency();
-
- timer_init();
-
- iomem_resource_init();
}
unsigned long __init prom_free_prom_memory (void)
|