[PATCH 1/9] Small updates for Freescale MPC52xx

Sylvain Munaut tnt at 246tNt.com
Tue Sep 14 21:46:21 EST 2004


# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/09/13 21:04:47+02:00 tnt at 246tNt.com
#   ppc: Update name of Freescale MPC52xx platform (IceCube -> LITE5200)
#   
#   The official name is LITE5200, so we take this one for comments and
#   functions names.
#   
#   Signed-off-by: Sylvain Munaut <tnt at 246tNt.com>
#
# arch/ppc/platforms/lite5200.c
#   2004/09/13 21:04:17+02:00 tnt at 246tNt.com +5 -6
#   ppc: Update name of Freescale MPC52xx platform (IceCube -> LITE5200)
#
diff -Nru a/arch/ppc/platforms/lite5200.c b/arch/ppc/platforms/lite5200.c
--- a/arch/ppc/platforms/lite5200.c     2004-09-14 12:47:23 +02:00
+++ b/arch/ppc/platforms/lite5200.c     2004-09-14 12:47:23 +02:00
@@ -71,16 +71,15 @@
 /* 
======================================================================== */

 static int
-icecube_show_cpuinfo(struct seq_file *m)
+lite5200_show_cpuinfo(struct seq_file *m)
 {
        seq_printf(m, "machine\t\t: Freescale LITE5200\n");
        return 0;
 }

 static void __init
-icecube_setup_arch(void)
+lite5200_setup_arch(void)
 {
-
        /* Add board OCP definitions */
        mpc52xx_add_board_devices(board_ocp);
 }
@@ -126,8 +125,8 @@
        isa_mem_base            = 0;

        /* Setup the ppc_md struct */
-       ppc_md.setup_arch       = icecube_setup_arch;
-       ppc_md.show_cpuinfo     = icecube_show_cpuinfo;
+       ppc_md.setup_arch       = lite5200_setup_arch;
+       ppc_md.show_cpuinfo     = lite5200_show_cpuinfo;
        ppc_md.show_percpuinfo  = NULL;
        ppc_md.init_IRQ         = mpc52xx_init_irq;
        ppc_md.get_irq          = mpc52xx_get_irq;
@@ -139,7 +138,7 @@
        ppc_md.power_off        = mpc52xx_power_off;
        ppc_md.halt             = mpc52xx_halt;

-               /* No time keeper on the IceCube */
+               /* No time keeper on the LITE5200 */
        ppc_md.time_init        = NULL;
        ppc_md.get_rtc_time     = NULL;
        ppc_md.set_rtc_time     = NULL;




More information about the Linuxppc-dev mailing list