85xx: Cleanup L2 cache size detection
authorKumar Gala <galak@kernel.crashing.org>
Mon, 14 Jul 2008 19:07:00 +0000 (14:07 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Tue, 15 Jul 2008 01:14:20 +0000 (20:14 -0500)
commit73f15a060f67a2462551c334215bd20fac6b81d1
tree33b60709e2155029a9c3358234920d0f3f9fb94e
parentc3ca7e5e00a24451f20df3bded9a61ba541921df
85xx: Cleanup L2 cache size detection

The L2 size detection code was a bit confusing and we kept having to add
code to it to handle new processors.  Change the sense of detection so we
look for the older processors that aren't changing.

Also added support for 1M cache size on 8572.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
cpu/mpc85xx/cpu_init.c