]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc/85xx: Clean up do_reset
authorKumar Gala <galak@kernel.crashing.org>
Tue, 8 Sep 2009 18:46:46 +0000 (13:46 -0500)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:17 +0000 (09:04 -0500)
commit5079ae4a203c8deb6fe58584ef151d5113ea1b54
treece69a3651b74acffdf9f5e827ca135e7c8fbf2b1
parent69460868594f2d593774fe82c3b0db19d4a178cb
ppc/85xx: Clean up do_reset

There is no reason to do a run time check for e500 v1 based cores to
determine if we have the GUTs RSTCR facility.  Only the first generation
of PQ3 parts (MPC8540/41/55/60) do not have it.  So checking to see if
we are e500 v2 would miss future parts (like e500mc).

Just change this to be ifdef'd based on CONFIG_MPC85{40,41,55,60}.

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