From patchwork Sat Nov 3 21:41:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 196950 X-Patchwork-Delegate: sjg@chromium.org 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 0C5EC2C00D6 for ; Sun, 4 Nov 2012 08:45:26 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 73F4D4A2EB; Sat, 3 Nov 2012 22:44:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 xr7FjydqFbso; Sat, 3 Nov 2012 22:44:10 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 208064A184; Sat, 3 Nov 2012 22:42:34 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A7AA14A17F for ; Sat, 3 Nov 2012 22:42:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 FdYVv9u0dgqL for ; Sat, 3 Nov 2012 22:42:20 +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-ye0-f202.google.com (mail-ye0-f202.google.com [209.85.213.202]) by theia.denx.de (Postfix) with ESMTPS id 60F594A15F for ; Sat, 3 Nov 2012 22:42:05 +0100 (CET) Received: by mail-ye0-f202.google.com with SMTP id r11so545167yen.3 for ; Sat, 03 Nov 2012 14:42:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=BYtG3uy0lMQjF/TaFdMCO0elINmg27Qg2GdIGHmHGas=; b=LhnPHA8uIIjPjd2610fn9OQWmPe3nsefA4OxJcStVXs4hSBruSyCvu3tZshaeXR/Mz KKYRNGU0yO/LEjDkRZenbwFSOtl3jBndo1Aef0gMZaapF2kL7ZBx6eIcqOo/jnYe/VGD SPemTlkIZHA5LyXeZIFZ9O6satXZBaIAtuZqVnYnlpgcA4QL7rAm8hyR0k80dl5KjISM EuBNPoaEAXBdTNcknbm8tbvnUEIwBhl8cJzLOcbMqiEeSaZdOWtvciHN5WT1IcXBwVWj udYCq62AAjWCbsVi1Ol0PKuNUpZqLxudvfz186qWV4grVqXbpySY8BRui/BxOOZS4zQO V4OA== Received: by 10.236.179.72 with SMTP id g48mr3673946yhm.37.1351978924095; Sat, 03 Nov 2012 14:42:04 -0700 (PDT) Received: from wpzn3.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id b7si821526yhj.1.2012.11.03.14.42.04 (version=TLSv1/SSLv3 cipher=AES128-SHA); Sat, 03 Nov 2012 14:42:04 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by wpzn3.hot.corp.google.com (Postfix) with ESMTP id D3F45100049; Sat, 3 Nov 2012 14:42:03 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id ACD3A161948; Sat, 3 Nov 2012 14:42:03 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Sat, 3 Nov 2012 14:41:39 -0700 Message-Id: <1351978902-23719-18-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1351978902-23719-1-git-send-email-sjg@chromium.org> References: <1351978902-23719-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQk1uIBr5jXFVJaorgbl2DMCxMSpPx5jqj9pIISpZNTMnhVadc+6bPunO5i+MPncPNAGP0FZtJpLEQd/YDM8d8mAw03vnA7GJcQ3RUpf6+oC+4bjNxHsFzmqIPNaVzA6S3T3ON/H0RWW1NSw6gYZV5yPSMroL5FzvS8MZtsV/K0FLtyRvPAOHkDjTw4ZV9mcjS2gzLQX Cc: Stefan Reinauer Subject: [U-Boot] [PATCH 17/20] x86: drop unused code in coreboot.c X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Stefan Reinauer The function setup_pcat_compatibility() is weak and implemented as empty function in board.c hence we don't have to override that with another empty function. monitor_flash_len is unused, drop it. Signed-off-by: Stefan Reinauer Signed-off-by: Simon Glass --- arch/x86/cpu/coreboot/coreboot.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c index da722e9..a3a1a4e 100644 --- a/arch/x86/cpu/coreboot/coreboot.c +++ b/arch/x86/cpu/coreboot/coreboot.c @@ -35,8 +35,6 @@ DECLARE_GLOBAL_DATA_PTR; -unsigned long monitor_flash_len = CONFIG_SYS_MONITOR_LEN; - /* * Miscellaneous platform dependent initializations */ @@ -93,7 +91,6 @@ void show_boot_progress(int val) outb(val, 0x80); } - int last_stage_init(void) { return 0; @@ -111,10 +108,6 @@ int board_eth_init(bd_t *bis) return pci_eth_init(bis); } -void setup_pcat_compatibility() -{ -} - #define MTRR_TYPE_WP 5 #define MTRRcap_MSR 0xfe #define MTRRphysBase_MSR(reg) (0x200 + 2 * (reg))