diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-05-10 23:20:50 +0200 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-06-22 22:44:40 +0200 |
commit | a18b658449e6677aba2bf8dcd3593adecff6fe4d (patch) | |
tree | 915f6e3fc346f12e93d52710435a35d831e8b5ee /arch/arm/mach-omap1 | |
parent | e7068ad337a991fba627148a4a57939fdc1e6a2d (diff) |
[ARM] Orion: make window setup a little more safe
Currently, Orion window setup uses hardcoded window indexes for each
of the boot/cs0/cs1/cs2/PCIe WA windows. The static window allocation
used can clash if board support code will ever attempt to configure
both a dev2 and a PCIe WA window, as both of those use CPU mbus window
#7 at present.
This patch keeps track of the last used window, and opens subsequently
requested windows sequentially, starting from 4. (Windows 0-3 are used
as MEM/IO windows for the PCI/PCIe buses.)
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'arch/arm/mach-omap1')
0 files changed, 0 insertions, 0 deletions