u-boot/arch/powerpc/cpu
Stefan Roese e02d449644 ppc4xx: Cleanup of PVR detection code in cpu.c
This patch cleans the PVR detection code in check_cpu() up a bit.
Basically the strings are better seperated, resulting in an easier
to understand and maintain code version.

The #ifdef's couldn't be removed easily because of two reasons:

- Some SoC revisions have the same PVR, so need a way to differentiate
  between those two SoC's.
- In some case statements registers only available in this SoC variant
  are referenced.

Instead I moved the CONFIG_440 #ifdef a bit, so that 405 platforms don't
add this 440 detection code and vice versa. Resulting in this U-Boot
image size change:

405EX (Kilauea):     408 bytes less
440EPx (Sequoia):    604 bytes less
460EX (Canyonlands): 564 bytes less

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
2010-09-23 09:02:06 +02:00
..
74xx_7xx Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
mpc5xx Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
mpc5xxx Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
mpc8xx bedbug_860.c, bedbug_603e.c: Fix return type to silence compile warnings. 2010-09-08 22:02:54 +02:00
mpc8xxx Fix parameters to support RDIMM for P2020DS 2010-08-31 11:23:04 -05:00
mpc83xx cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
mpc85xx mpx85xx/fdt: Add cpu-release-addr for all cores 2010-08-19 21:20:10 -05:00
mpc86xx 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
mpc512x fsl: refactor MPC8610 and MPC5121 DIU code to use existing bitmap and logo features 2010-09-21 22:46:02 +02:00
mpc824x Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
mpc8220 miiphy: constify device name 2010-08-09 11:52:29 -07:00
mpc8260 bedbug_860.c, bedbug_603e.c: Fix return type to silence compile warnings. 2010-09-08 22:02:54 +02:00
ppc4xx ppc4xx: Cleanup of PVR detection code in cpu.c 2010-09-23 09:02:06 +02:00