405gp pci mapping registers
Dan Malek
dan at netx4.com
Tue Jul 25 03:32:12 EST 2000
Ralph Blach wrote:
> This is interesting because since the 405gp has three sets of these
> register leading to split mappings.
It isn't conceptually any different than the enormous flexibility of
the MPC8xx memory controller, and is very similar to PCI bridges
on the MPC8xx boards.
> My question is this. How should we manage this kind of address
> flexability?
You stamp a "Linux" memory map and leave it alone. Just because
you have the flexibility doesn't imply it should be exposed as
configuration options. When I did the MPC8xx port, I chose to utilize
all of the flexibility so I could make the memory map look as much
like Prep as possible. All of the assumptions or knowledge about the
PowerPC workstation memory maps are mostly valid for the 8xx as well.
I used the flexibility to emulate something that already existed.
I learned a valuable lesson, and hope others will do the same. Use
that flexibility so make all of the systems look similar. Otherwise,
you will end up on a technology island, frustrated that the rest of
the world is moving forward with new features and you are unable to
keep up with your own little custom hacks.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list