Re: [HACK] add sandpoint + flattened dt support to arch/powerpc/boot
From: Guennadi Liakhovetski <hidden>
Date: 2006-07-19 22:29:04
On Wed, 19 Jul 2006, Mark A. Greer wrote:
Ben and I have talked a little bit privately and the ball is in my court to produce a set of patches. To that end, I have them ready so expect to see them shortly.
Great! So, I can really relax and enjoy my holiday next week in beautiful Eifel:-) And as your patches arrive we'll see how best to integrate kurobox with them. One question so far. Looking at your sandpoint.dts pci map: ranges = <80000000 80000000 70000000 /* pci mem space */ fc000000 fc000000 00100000 /* EUMB */ fe000000 fe000000 00c00000 /* pci i/o space */ fec00000 fec00000 00300000 /* pci cfg regs */ fef00000 fef00000 00100000>; /* pci iack */ I can match hardware addresses against defines in include/asm-ppc/mpc10x.h, but virtual one - is the map above just an example and anyway-not-used, or is it a new mapping, or am I missing something and it has always been like that (1-to-1)? At least this comment * MAP B (CHRP Map) * Processor: 0xfe000000 - 0xfebfffff -> PCI I/O: 0x00000000 - 0x00bfffff * Processor: 0x80000000 - 0xbfffffff -> PCI MEM: 0x80000000 - 0xbfffffff * PCI MEM: 0x00000000 -> Processor System Memory: 0x00000000 * EUMB mapped to: ioremap_base - 0x00100000 (ioremap_base - 1 MB) seems to contradict with the above map in pci io area, as well as this one: * Want processor accesses of 0xFDxxxxxx to be mapped * to PCI memory space at 0x00000000. Do not want Actually, I cannot even match these 2 together? Thanks Guennadi --- Guennadi Liakhovetski