On Dec 3, 2007 5:40 PM, Paul Mundt <[EMAIL PROTECTED]> wrote: > Trivial patch adding CPU listing and the ability to do per-subtype > CVR/PVR/PRR values. The existing semantics aren't changed, as only > the SH7751R values are stubbed in for the moment, but the kernel is at > least able to get the cache probing correct. > > This also makes it trivial to abstract subtype specific registers like > MMU_PTEA and to set up feature bits in line with the kernel probing for > things like conditionalizing FPU/DSP context. > > Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
Thank you for implementing this. Good idea. There is however a small glitch introduced with this patch - both the r2d and the shix board can pass "any" as cpu string when calling cpu_init(). This results in a "Unable to find CPU definition" error unless the cpu type is specified on the command line using the -cpu option. Maybe a better solution would be to pass "SH7751R" from r2d and "SH7750" from shix by default? / magnus