linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Fri, 22 Jul 2005 19:22:33 +0100
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
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)

<Prev in Thread] Current Thread [Next in Thread>