]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ppc/powerpc: workarounds for old Open Firmware versions
authorPaul Mackerras <paulus@samba.org>
Thu, 10 Nov 2005 01:00:55 +0000 (12:00 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 Nov 2005 01:00:55 +0000 (12:00 +1100)
commita23414beb6607dfd40d3245f7df9dd97a4e2c82b
tree7fb2e368a462fab4ce4cc275281ecd22e284653a
parent8b553f32db3bf5d0ec0819c595932eb21cd45945
ppc/powerpc: workarounds for old Open Firmware versions

This adds code to work around some problems with old versions of
Open Firmware, such as on the early powermacs (7500 etc.) and the
"Longtrail" CHRP machine.  On these machines we have to claim
the physical and virtual address ranges explicitly when claiming
memory and then set up a V->P mapping.

The Longtrail has more problems: setprop doesn't work, and we have
to set an "allow-reclaim" variable to 0 in order to get claim on
physical memory ranges to fail if the memory is already claimed.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/prom_init.c
arch/powerpc/platforms/chrp/setup.c
arch/ppc/boot/include/of1275.h
arch/ppc/boot/of1275/Makefile
arch/ppc/boot/of1275/call_prom.c [new file with mode: 0644]
arch/ppc/boot/of1275/claim.c
arch/ppc/boot/of1275/finddevice.c