]> git.ipfire.org Git - people/ms/u-boot.git/commit
Update SVR numbers to expand support
authorAndy Fleming <afleming@freescale.com>
Wed, 6 Feb 2008 07:19:40 +0000 (01:19 -0600)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Wed, 26 Mar 2008 16:43:04 +0000 (11:43 -0500)
commit1ced121600b2060ab2ff9f0fddd9421fd70a0dc6
tree9b2f8defd6879f399795a41f9caef39cb3fa76ba
parentb83eef440cf3cef816172ccbb5897ccd8e403cf3
Update SVR numbers to expand support

FSL has taken to using SVR[16:23] as an SOC sub-version field.  This
is used to distinguish certain variants within an SOC family.  To
account for this, we add the SVR_SOC_VER() macro, and update the SVR_*
constants to reflect the larger value.  We also add SVR numbers for all
of the current variants.  Finally, to make things neater, rather than
use an enormous switch statement to print out the CPU type, we create
and array of SVR/name pairs (using a macro), and print out the CPU name
that matches the SVR SOC version.

Signed-off-by: Andy Fleming <afleming@freescale.com>
cpu/mpc85xx/cpu.c
cpu/mpc86xx/cpu.c
include/asm-ppc/processor.h