summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-07-18 15:52:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-07-18 15:52:57 +0000
commit35f93740979fc3bffefb22f99f3ebe2ae05f86c2 (patch)
tree71fde12a6d8a768703e50fbc2ed433767e469084 /c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
parent2003-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov> (diff)
downloadrtems-35f93740979fc3bffefb22f99f3ebe2ae05f86c2.tar.bz2
2003-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 428/bsps PR 432/bsps * bootloader/pci.c: Re-instated code that prevents remapping small IO regions, which if remapped would cause i8259 registers to move out from under the #define'd base addresses. * startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256 megs, I incorrectly had extended it which would cause problems with PCI devices that defined prefetchable memory.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/bspstart.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
index 5fc61e65bb..4e5e1d0d9e 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
@@ -253,7 +253,7 @@ void bsp_start( void )
* provided by the RAVEN
*/
/* T. Straumann: give more PCI address space */
- setdbat(2, PCI_MEM_BASE, PCI_MEM_BASE, 0x30000000, IO_PAGE);
+ setdbat(2, PCI_MEM_BASE, PCI_MEM_BASE, 0x10000000, IO_PAGE);
/*
* Must have acces to open pic PCI ACK registers
* provided by the RAVEN
@@ -310,11 +310,9 @@ void bsp_start( void )
}
else
printk("pci : Interrupt routing not available for this bsp\n");
-
}
-
#ifdef SHOW_MORE_INIT_SETTINGS
printk("Number of PCI buses found is : %d\n", BusCountPCI());
#endif
@@ -341,6 +339,7 @@ void bsp_start( void )
/* clear hostbridge errors and enable MCP */
_BSP_clear_hostbridge_errors(1/*enableMCP*/, 0/*quiet*/);
+
/* Allocate and set up the page table mappings
* This is only available on >604 CPUs.
*