Browse Source

Adjust address windows configuration.

The useless address windows configuration for Loongson 2G is removed.
master
LI Wengang 15 years ago
committed by LIU Qi
parent
commit
37d0583ced
  1. 2
      Targets/Bonito2g690e/Bonito/loongson2g_HT_init.S
  2. 12
      Targets/Bonito2g690e/Bonito/loongson2g_fixup.S

2
Targets/Bonito2g690e/Bonito/loongson2g_HT_init.S

@ -31,6 +31,7 @@
dli t1, 0x00000cfdfc0000f6
sd t1, 0x80(t0)
/*
//HT Space enable
//map 0x90000e00_00000000 --> 0x90000e00_00000000
dli t1, 0x00000e0000000000
@ -39,6 +40,7 @@
sd t1, 0x48(t0)
dli t1, 0x00000c00000000f6
sd t1, 0x88(t0)
*/
#if 0
//HT: PCI LO BASE

12
Targets/Bonito2g690e/Bonito/loongson2g_fixup.S

@ -42,15 +42,16 @@
1:
####### Unused HT0 port #########################
dli t0, 0x00000e0000000000
dli t0, 0x00000c0000000000
sd t0, 0x28(t2)
dli t0, 0xfffffe0000000000
dli t0, 0xfffffc0000000000
sd t0, 0x68(t2)
dli t0, 0x00000c00000000f6
sd t0, 0xa8(t2)
#ifndef MULTI_CHIP
####### address space to other nodes ############
/*
dli t0, 0x0000200000000000
sd t0, 0x30(t2)
dli t0, 0x0000200000000000
@ -64,6 +65,13 @@
sd t0, 0x78(t2)
dli t0, 0x00001000000000f6
sd t0, 0xb8(t2)
*/
dli t0, 0x0000000000000000
sd t0, 0x38(t2)
dli t0, 0x0000000000000000
sd t0, 0x78(t2)
dli t0, 0x00000000000000f0
sd t0, 0xb8(t2)
daddiu t2, t2, 0x100
bne t2, t1, 1b

Loading…
Cancel
Save