forked from Imagelibrary/rtems
psim: Rework device tree so devices do not conflict with 256MB RAM
updates #3849.
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user