[POWERPC] Efika: Really, don't pretend to be CHRP
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 13 Apr 2008 16:52:38 +0000 (02:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 16 Apr 2008 21:46:12 +0000 (07:46 +1000)
commit7f4392cdcc63fea72fc77d14497059267d77d5d0
tree4fa43a2b38636cdf5ffbd441e7ed3b258ca2a880
parent612212a3f2f053ea68ce9cd16d3deeca7754e8c9
[POWERPC] Efika: Really, don't pretend to be CHRP

Fedora 9 works on Efika without the separate 'device-tree supplement',
thanks to the kernel's own fixups. With one exception -- because 'CHRP'
still appears on the 'machine:' line in /proc/cpuinfo, the installer
misdetects the platform and misconfigures yaboot, putting it into a PReP
boot partition instead of in the /boot filesystem where the Efika's
firmware could find it.

The kernel's fixups for Efika already correct one instance of 'chrp', in
the 'device_type' property. This fixes it in the 'CODEGEN,description'
property too, since that's what's exposed to userspace in /proc/cpuinfo.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_init.c