From c65380ae701da5d0823d72d391c46ef62fbab975 Mon Sep 17 00:00:00 2001 From: wusheng Date: Tue, 22 Jan 2019 11:41:25 +0800 Subject: [PATCH] Loongson2K: 1.Change frame buffer to cached address 2.Delete a useless function call Change-Id: I895bd79997debd5b59d57e4e0053ea8ef6182944 --- Targets/LS2K/ls2k/dc.c | 4 ++-- Targets/LS2K/ls2k/tgt_machdep.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Targets/LS2K/ls2k/dc.c b/Targets/LS2K/ls2k/dc.c index 9bf44c9c..8be6b42d 100644 --- a/Targets/LS2K/ls2k/dc.c +++ b/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; diff --git a/Targets/LS2K/ls2k/tgt_machdep.c b/Targets/LS2K/ls2k/tgt_machdep.c index 03c25bde..ca68fd08 100644 --- a/Targets/LS2K/ls2k/tgt_machdep.c +++ b/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);