Skip to content
Snippets Groups Projects
Commit dfe812c7 authored by Kim Phillips's avatar Kim Phillips
Browse files

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: default avatarKim Phillips <kim.phillips@freescale.com>
parent 27ef578d
Branches
Tags
No related merge requests found
...@@ -106,7 +106,9 @@ int checkcpu(void) ...@@ -106,7 +106,9 @@ int checkcpu(void)
puts(cpu_type_list[i].name); puts(cpu_type_list[i].name);
if (IS_E_PROCESSOR(spridr)) if (IS_E_PROCESSOR(spridr))
puts("E"); 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"); puts("A");
printf(", Rev: %d.%d", REVID_MAJOR(spridr), printf(", Rev: %d.%d", REVID_MAJOR(spridr),
REVID_MINOR(spridr)); REVID_MINOR(spridr));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment