summaryrefslogtreecommitdiff
path: root/cpu/mpc83xx/cpu.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-01-30 14:08:30 -0600
committerKim Phillips <kim.phillips@freescale.com>2007-03-02 11:05:53 -0600
commit3e78a31cfe3d3022f46f67eb88e1281d5cc2eb89 (patch)
treed2876ce10f6959748ec7ebf5877520e84d1e265e /cpu/mpc83xx/cpu.c
parentae246dc6c1937c291014eadd90b6d48c438c7cb0 (diff)
downloadu-boot-imx-3e78a31cfe3d3022f46f67eb88e1281d5cc2eb89.zip
u-boot-imx-3e78a31cfe3d3022f46f67eb88e1281d5cc2eb89.tar.gz
u-boot-imx-3e78a31cfe3d3022f46f67eb88e1281d5cc2eb89.tar.bz2
mpc83xx: Replace CONFIG_MPC8349 and use CONFIG_MPC834X instead
The code that is ifdef'd with CONFIG_MPC8349 is actually applicable to all MPC834X class processors. Change the protections from CONFIG_MPC8349 to CONFIG_MPC834X so they are more generic. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc83xx/cpu.c')
-rw-r--r--cpu/mpc83xx/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc83xx/cpu.c b/cpu/mpc83xx/cpu.c
index bc61219..15e04ba 100644
--- a/cpu/mpc83xx/cpu.c
+++ b/cpu/mpc83xx/cpu.c
@@ -113,7 +113,7 @@ int checkcpu(void)
return -1; /* Not sure what this is */
}
-#if defined(CONFIG_MPC8349)
+#if defined(CONFIG_MPC834X)
printf("Rev: %02x at %s MHz\n", (spridr & 0x0000FFFF)>>4 |(spridr & 0x0000000F), strmhz(buf, clock));
#else
printf("Rev: %02x at %s MHz\n", spridr & 0x0000FFFF, strmhz(buf, clock));