psim: Rework device tree so devices do not conflict with 256MB RAM

updates #3849.
This commit is contained in:
Joel Sherrill
2020-03-05 17:51:12 -06:00
parent fa3005f6c1
commit 097ea1ecc5
4 changed files with 11 additions and 14 deletions

View File

@@ -104,8 +104,8 @@ void bsp_start( void )
setdbat(0, 0x0<<28, 0x0<<28, 1<<28, _PAGE_RW);
setibat(0, 0x0<<28, 0x0<<28, 1<<28, 0);
/* PCI */
setdbat(1, 0x8<<24, 0x8<<24, 1<<24, IO_PAGE);
setdbat(2, 0xc<<24, 0xc<<24, 1<<24, IO_PAGE);
setdbat(1, 0x08<<24, 0x08<<24, 1<<24, IO_PAGE);
setdbat(2, 0xfc<<24, 0xfc<<24, 1<<24, IO_PAGE);
_write_MSR(_read_MSR() | MSR_DR | MSR_IR);
__asm__ volatile("sync; isync");

View File

@@ -1,4 +0,0 @@
#/openprom/init/register/pc 0
#/openprom/options/smp 2
#/openprom/options/oea-memory-size 4194304
/openprom/options/oea-memory-size 0x10000000

View File

@@ -35,7 +35,7 @@ REGION_ALIAS ("REGION_NVRAM", EMPTY);
PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000);
PSIM = 0x0c000000;
PSIM = 0xfc000000;
/* Allocate the maximum size to the small data area */
bsp_section_small_data_area_size = 65536;