[PATCH 1/9] Small updates for Freescale MPC52xx

From: Sylvain Munaut
Date: Tue Sep 14 2004 - 06:58:15 EST


# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/09/13 21:04:47+02:00 tnt@xxxxxxxxxx
# 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@xxxxxxxxxx>
#
# arch/ppc/platforms/lite5200.c
# 2004/09/13 21:04:17+02:00 tnt@xxxxxxxxxx +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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/