sh: Tidy up SH-4A boot_cpu_data.flags probing.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 1 Jun 2009 10:50:08 +0000 (19:50 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 1 Jun 2009 10:50:08 +0000 (19:50 +0900)
commit0bf8513ed0df64b38edce63411d4b7b368464f47
treec15d7bb734f4daaba2fa01df9a83e4b79ea65726
parent7863d3f7aeae05099a38693a0a7eb7bdc7b2ab05
sh: Tidy up SH-4A boot_cpu_data.flags probing.

This tidies up the boot_cpu_data.flags probing on SH-4A. All of them have
a few things in common, which we can blindly set, rather than having each
subtype have to set the same flags. We can also make assumptions about
cache ways and the validity of PTEA, so this also kills off CPU_HAS_PTEA
as a config option. There was also a bug in the FPU probing, which is now
tidied up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/Kconfig.cpu
arch/sh/kernel/cpu/sh4/probe.c
This page took 0.024003 seconds and 5 git commands to generate.