From patchwork Tue Dec 8 03:38:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 553711 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id DC134140216 for ; Tue, 8 Dec 2015 14:42:42 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=JRenunEF; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 07BFB4B72C; Tue, 8 Dec 2015 04:41:37 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id plOb5_dBvcRE; Tue, 8 Dec 2015 04:41:36 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 14FFCA7469; Tue, 8 Dec 2015 04:40:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 128944B72F for ; Tue, 8 Dec 2015 04:39:42 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id voIxcTTdEqDv for ; Tue, 8 Dec 2015 04:39:42 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com [209.85.214.173]) by theia.denx.de (Postfix) with ESMTPS id 421D44B6CB for ; Tue, 8 Dec 2015 04:39:33 +0100 (CET) Received: by obciw8 with SMTP id iw8so5201613obc.1 for ; Mon, 07 Dec 2015 19:39:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=MY+xnI4R6adw7rqE1ARK0PwXGAOy+CeMxf+tZ8KXF/w=; b=JRenunEFQPFY1MLduyu56hdv+4F2+pntLI1KuNIcGyYUu4bDEwHAW67M3hYpjfnyRT Q81A8dfol+EAzCcUVwvUyuFpMzCD1uLC3BzFOjxDAzph24QRYBgyK5VjdThphowILFkI qGX6EqdDxP8m5Vb1KLq5a0et1DCvm/iAwEtFqXS7+ZQ555R+Dpda9+QWnMssWBXRk6sf 7ME9t169b/K/gTQbRta8F/yIUVEjZaLW+AFhLuQ2eMxBkzPCHIQp4tVinDewzXp6OgE8 aOt5UTRMkV0+Jl/R38LvOetxRmDqgfEnobge+rR9VypR9USJmIQfj0kxLIhltvrAK0NP qq1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=MY+xnI4R6adw7rqE1ARK0PwXGAOy+CeMxf+tZ8KXF/w=; b=cmQcT8k82Fo8cwRsQ2X2OKUKDYu/oqiOpXIqujfuUhXq6tYOu6WSzuszXTQ3l1vKzm 3bntjSdC1y1rpCv7YXA37QUxttF2DQS34/HpQCa0NcG5KXirNXidGMkZztyStOzW4zDK w77EnGGLC9nkqpbhujVTrRXMr12vDkZ3GDihFOkBb6f9ST0HRFEIGPvvGu9cAZ5fRpj2 ChnZmMZfD0CrA4cZqAlw/UjxCcqwoEWRPMpCYa9lHBP6O+STxUoNXhA3yiJGciR0Y4Oi EqnrFEVGggZD50EF+Y4XT6g8pYyqdQEJObnMiYDXUryFMMut1REGHDDmKezMYH9Qsdry 82hg== X-Gm-Message-State: ALoCoQnYuZhdyLlXqtCmXnrqvEngJKoiDmKxY6yFnfXf6UU/COSV56Qc03i4xeZZSFSDXZhWFy1MdgrH37YvpPk6pNYLmNagDA== X-Received: by 10.182.24.37 with SMTP id r5mr433785obf.77.1449545971979; Mon, 07 Dec 2015 19:39:31 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by smtp.gmail.com with ESMTPSA id a123sm605071oig.2.2015.12.07.19.39.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Dec 2015 19:39:28 -0800 (PST) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 1E5FA221A00; Mon, 7 Dec 2015 20:39:21 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Mon, 7 Dec 2015 20:38:41 -0700 Message-Id: <1449545956-2772-23-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.6.0.rc2.230.g3dd15c0 In-Reply-To: <1449545956-2772-1-git-send-email-sjg@chromium.org> References: <1449545956-2772-1-git-send-email-sjg@chromium.org> Cc: Graeme Russ Subject: [U-Boot] [PATCH 22/57] x86: ivybridge: Drop the dead MTRR code X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This is not used and MTRRs are set up elsewhere now. Drop it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/cpu/ivybridge/model_206ax.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/x86/cpu/ivybridge/model_206ax.c b/arch/x86/cpu/ivybridge/model_206ax.c index a217954..9654600 100644 --- a/arch/x86/cpu/ivybridge/model_206ax.c +++ b/arch/x86/cpu/ivybridge/model_206ax.c @@ -412,16 +412,6 @@ static int model_206ax_init(struct udevice *dev) set_ehci_debug(0); #endif - /* Setup MTRRs based on physical address size */ -#if 0 /* TODO: Implement this */ - struct cpuid_result cpuid_regs; - - cpuid_regs = cpuid(0x80000008); - x86_setup_fixed_mtrrs(); - x86_setup_var_mtrrs(cpuid_regs.eax & 0xff, 2); - x86_mtrr_check(); -#endif - #if CONFIG_USBDEBUG set_ehci_debug(ehci_debug_addr); #endif