diff options
author | Joel Sherrill <joel@rtems.org> | 2020-03-05 17:51:12 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2020-03-05 18:27:52 -0600 |
commit | 097ea1ecc50a62e1ed9c1e032383d6f6f2fed581 (patch) | |
tree | 30e3d025324d9799a3b831e17a4a3d33bfc79e8c /bsps/powerpc/psim/start/bspstart.c | |
parent | fa3005f6c1ddb99347acb70cbaecd155ed0356ed (diff) |
psim: Rework device tree so devices do not conflict with 256MB RAM
updates #3849.
Diffstat (limited to 'bsps/powerpc/psim/start/bspstart.c')
-rw-r--r-- | bsps/powerpc/psim/start/bspstart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/powerpc/psim/start/bspstart.c b/bsps/powerpc/psim/start/bspstart.c index 3c136739de..2cff2ff353 100644 --- a/bsps/powerpc/psim/start/bspstart.c +++ b/bsps/powerpc/psim/start/bspstart.c @@ -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"); |