diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2010-04-15 17:36:02 -0500 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2010-04-22 18:34:49 -0500 |
commit | dfe812c744ee6dacae3b4d553694642668d9ac9d (patch) | |
tree | 4f4131cb9c9a7cfb23feaa5670bebea853ee3293 /arch | |
parent | 27ef578df7b9c7862c36a31b819c652f8b0aeea0 (diff) | |
download | u-boot-imx-dfe812c744ee6dacae3b4d553694642668d9ac9d.zip u-boot-imx-dfe812c744ee6dacae3b4d553694642668d9ac9d.tar.gz u-boot-imx-dfe812c744ee6dacae3b4d553694642668d9ac9d.tar.bz2 |
mpc83xx: use "A" nomenclature only on mpc834x and mpc836x families
marketing didn't extend their postpend-with-an-A naming strategy
on rev.2's and higher beyond the first two 83xx families. This
patch stops us from misreporting we're running e.g., on an MPC8313EA,
when such a name doesn't exist.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/cpu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/powerpc/cpu/mpc83xx/cpu.c index 51180d6..8b98a57 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu.c +++ b/arch/powerpc/cpu/mpc83xx/cpu.c @@ -106,7 +106,9 @@ int checkcpu(void) puts(cpu_type_list[i].name); if (IS_E_PROCESSOR(spridr)) puts("E"); - if (REVID_MAJOR(spridr) >= 2) + if ((SPR_FAMILY(spridr) == SPR_834X_FAMILY || + SPR_FAMILY(spridr) == SPR_836X_FAMILY) && + REVID_MAJOR(spridr) >= 2) puts("A"); printf(", Rev: %d.%d", REVID_MAJOR(spridr), REVID_MINOR(spridr)); |