Browse Source

Loongson2K: 1.Change frame buffer to cached address

2.Delete a useless function call

Change-Id: I895bd79997debd5b59d57e4e0053ea8ef6182944
master
wusheng 6 years ago
parent
commit
c65380ae70
  1. 4
      Targets/LS2K/ls2k/dc.c
  2. 1
      Targets/LS2K/ls2k/tgt_machdep.c

4
Targets/LS2K/ls2k/dc.c

@ -19,8 +19,8 @@
#define RANDOM_HEIGHT_Z 37
static char *ADDR_CURSOR = 0xaeff0000;
static char *MEM_ptr = 0xae800000; /* frame buffer address register on ls2h mem */
static char *ADDR_CURSOR = 0x8eff0000;
static char *MEM_ptr = 0x8e800000; /* frame buffer address register on ls2h mem */
static int MEM_ADDR = 0;

1
Targets/LS2K/ls2k/tgt_machdep.c

@ -335,7 +335,6 @@ void tgt_devconfig()
#endif
printf("devconfig done.\n");
ls_pcie_interrupt_fixup();
}
extern int test_icache_1(short *addr);

Loading…
Cancel
Save