mpc83xx: cleanup System Part and Revision ID Register (SPRIDR) code
authorKim Phillips <kim.phillips@freescale.com>
Fri, 28 Mar 2008 15:19:07 +0000 (10:19 -0500)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 28 Mar 2008 21:01:06 +0000 (16:01 -0500)
commite5c4ade4db1e16d3e5d4a7887f34e10e516ed3a9
tree2c75761816373aa02a3e9a5e369f74a4fba4c911
parent81fd52c6c8fd19f0b7856b98217ce37c46c521af
mpc83xx: cleanup System Part and Revision ID Register (SPRIDR) code

in the spirit of commit 1ced121600b2060ab2ff9f0fddd9421fd70a0dc6,
85xx's "Update SVR numbers to expand support", simplify SPRIDR processing
and processor ID display.  Add REVID_{MAJ,MIN}OR macros to make
REVID dependent code simpler.  Also added PARTID_NO_E and IS_E_PROCESSOR
convenience macros.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
board/freescale/mpc8360emds/mpc8360emds.c
board/freescale/mpc837xemds/mpc837xemds.c
board/freescale/mpc837xerdb/mpc837xerdb.c
cpu/mpc83xx/cpu.c
include/mpc83xx.h