From patchwork Fri Dec 7 14:28:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 204501 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id F0F042C0100 for ; Sat, 8 Dec 2012 01:28:28 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1Tgyuh-0000SS-QU; Fri, 07 Dec 2012 14:28:27 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1Tgyug-0000SN-5L for fwts-devel@lists.ubuntu.com; Fri, 07 Dec 2012 14:28:26 +0000 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginmedia.com ([77.100.248.181] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Tgyug-0005M5-1k for fwts-devel@lists.ubuntu.com; Fri, 07 Dec 2012 14:28:26 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH] bios: mtrr: remove mtrr_test4 because we're removed FWTS_TEST_VGA_REGION Date: Fri, 7 Dec 2012 14:28:20 +0000 Message-Id: <1354890500-32132-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.8.0 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King An earlier patch removed FWTS_TEST_VGA_REGION but I forgot to also remove mtrr_test4. Remove this unwanted and broken old test. Signed-off-by: Colin Ian King Acked-by: Ivan Hu Acked-by: Keng-Yu Lin --- src/bios/mtrr/mtrr.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/bios/mtrr/mtrr.c b/src/bios/mtrr/mtrr.c index 285d284..18d542b 100644 --- a/src/bios/mtrr/mtrr.c +++ b/src/bios/mtrr/mtrr.c @@ -505,20 +505,10 @@ static int mtrr_test3(fwts_framework *fw) return FWTS_OK; } -#if FWTS_TEST_VGA_REGION -static int mtrr_test4(fwts_framework *fw) -{ - return check_vga_controller_address(fw); -} -#endif - static fwts_framework_minor_test mtrr_tests[] = { { mtrr_test1, "Validate the kernel MTRR IOMEM setup." }, { mtrr_test2, "Validate the MTRR setup across all processors." }, { mtrr_test3, "Check for AMD MtrrFixDramModEn being cleared by the BIOS." }, -#if FWTS_TEST_VGA_REGION - { mtrr_test4, "Validate the BIOS providided boot time MTRR IOMEM setup." }, -#endif { NULL, NULL } };