original_kernel/arch
David Gibson b2ba34f370 [POWERPC] Derive ebc ranges property from EBC registers
In the device tree for Ebony, the 'ranges' property in the node for
the EBC bridge shows the mappings from the chip select / address lines
actually used for the EBC peripherals into the address space of the
OPB.  At present, these mappings are hardcoded in ebony.dts for the
mappings set up by the OpenBIOS firmware when it configures the EBC
bridge.

This replaces the hardcoded mappings with code in the zImage to
read the EBC configuration registers and create an appropriate ranges
property based on them.  This should make the zImage and kernel more
robust to changes in firmware configuration.  In particular, some of
the Ebony's DIP switches can change the effective address of the Flash
and other peripherals in OPB space.  With this patch, the kernel will
be able to cope with at least some of the possible variations.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-14 22:30:16 +10:00
..
alpha ALPHA: misc fixes 2007-06-01 08:18:29 -07:00
arm [ARM] Solve buggy smp_processor_id() usage 2007-06-02 21:31:49 +01:00
arm26
avr32
blackfin
cris
frv
h8300 h8300 trival patches 2007-06-01 08:18:29 -07:00
i386 potential parse error in ifdef part 3 2007-06-08 17:23:33 -07:00
ia64
m32r
m68k
m68knommu m68knommu: fix ColdFire timer off by 1 2007-06-08 17:23:32 -07:00
mips [MIPS] Fix IP27 build 2007-06-11 18:20:55 +01:00
parisc
powerpc [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +10:00
ppc [POWERPC] Merge CPU features pertaining to icache coherency 2007-06-14 22:30:16 +10:00
s390
sh sh: Fix se73180 platform device registration. 2007-06-04 11:07:23 +09:00
sh64 potential parse error in ifdef part 3 2007-06-08 17:23:33 -07:00
sparc
sparc64 [SPARC64]: Handle PCI bridges without 'ranges' property. 2007-06-07 21:59:44 -07:00
um uml: get declaration of simple_strtoul 2007-06-08 17:23:33 -07:00
v850
x86_64 x86_64: oops_begin() fix 2007-06-08 17:23:34 -07:00
xtensa