From e55823bab4d71b7e7ec955485207cce433c643f6 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 22 Jul 2025 13:44:52 +0200 Subject: [PATCH] xfree86: drivers: ast: drop unused MMCTestSingle2_AST2150() Signed-off-by: Enrico Weigelt, metux IT consult --- .../drivers/video/ast/src/ast_vgatool.c | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/hw/xfree86/drivers/video/ast/src/ast_vgatool.c b/hw/xfree86/drivers/video/ast/src/ast_vgatool.c index dce2fa4c17..028c1410c6 100644 --- a/hw/xfree86/drivers/video/ast/src/ast_vgatool.c +++ b/hw/xfree86/drivers/video/ast/src/ast_vgatool.c @@ -1244,28 +1244,6 @@ static ULONG MMCTestBurst2_AST2150(PAST2150DRAMParam param, ULONG datagen) return(data); } -static ULONG MMCTestSingle2_AST2150(PAST2150DRAMParam param, ULONG datagen) -{ - ULONG data, timeout; - UCHAR *mmiobase; - - mmiobase = param->pjMMIOVirtualAddress; - - MOutdwm(mmiobase, 0x1E6E0070, 0x00000000); - MOutdwm(mmiobase, 0x1E6E0070, 0x00000005 | (datagen << 3)); - timeout = 0; - do{ - data = MIndwm(mmiobase, 0x1E6E0070) & 0x40; - if(++timeout > TIMEOUT_AST2150){ - MOutdwm(mmiobase, 0x1E6E0070, 0x00000000); - return(-1); - } - }while(!data); - data = (MIndwm(mmiobase, 0x1E6E0070) & 0x80) >> 7; - MOutdwm(mmiobase, 0x1E6E0070, 0x00000000); - return(data); -} - static int CBRTest_AST2150(PAST2150DRAMParam param) { if(MMCTestBurst2_AST2150(param, 0) ) return(0);