Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6922
-gerrit
commit 27a13d9a25e1f69c26939bfa43dd65c04bbc2f9c Author: Vladimir Serbinenko phcoder@gmail.com Date: Sat Sep 6 01:38:55 2014 +0300
x220, x230: Remove unused headers.
Change-Id: Ia85e3b588c0e255e5c0f77114f051130596ce8d5 Signed-off-by: Vladimir Serbinenko phcoder@gmail.com --- src/mainboard/lenovo/x220/mainboard.c | 7 ------- src/mainboard/lenovo/x220/romstage.c | 3 --- src/mainboard/lenovo/x230/mainboard.c | 6 ------ 3 files changed, 16 deletions(-)
diff --git a/src/mainboard/lenovo/x220/mainboard.c b/src/mainboard/lenovo/x220/mainboard.c index 87fedfe..00e7991 100644 --- a/src/mainboard/lenovo/x220/mainboard.c +++ b/src/mainboard/lenovo/x220/mainboard.c @@ -26,15 +26,10 @@ #include <device/pci_ops.h> #include <console/console.h> #include <drivers/intel/gma/int15.h> -#include <pc80/mc146818rtc.h> #include <arch/acpi.h> -#include <arch/io.h> -#include <arch/interrupt.h> -#include <boot/coreboot_tables.h> #include <southbridge/intel/bd82x6x/pch.h> #include <smbios.h> #include <device/pci.h> -#include <cbfs.h> #include <pc80/keyboard.h> #include <ec/lenovo/h8/h8.h> #include <build.h> @@ -54,8 +49,6 @@ const char *smbios_mainboard_bios_version(void) return "CBET4000 " COREBOOT_VERSION; }
- - static void mainboard_init(device_t dev) { RCBA32(0x38c8) = 0x00002005; diff --git a/src/mainboard/lenovo/x220/romstage.c b/src/mainboard/lenovo/x220/romstage.c index 7d97f12..33d9b5e 100644 --- a/src/mainboard/lenovo/x220/romstage.c +++ b/src/mainboard/lenovo/x220/romstage.c @@ -28,9 +28,7 @@ #include <device/pci_def.h> #include <device/pnp_def.h> #include <cpu/x86/lapic.h> -#include <pc80/mc146818rtc.h> #include <arch/acpi.h> -#include <cbmem.h> #include <console/console.h> #include "northbridge/intel/sandybridge/sandybridge.h" #include "northbridge/intel/sandybridge/raminit_native.h" @@ -39,7 +37,6 @@ #include <arch/cpu.h> #include <cpu/x86/bist.h> #include <cpu/x86/msr.h> -#include <cbfs.h>
static void pch_enable_lpc(void) { diff --git a/src/mainboard/lenovo/x230/mainboard.c b/src/mainboard/lenovo/x230/mainboard.c index 7d9c456..a060015 100644 --- a/src/mainboard/lenovo/x230/mainboard.c +++ b/src/mainboard/lenovo/x230/mainboard.c @@ -26,15 +26,11 @@ #include <device/pci_ops.h> #include <console/console.h> #include <drivers/intel/gma/int15.h> -#include <pc80/mc146818rtc.h> #include <arch/acpi.h> -#include <arch/io.h> -#include <arch/interrupt.h> #include <boot/coreboot_tables.h> #include <southbridge/intel/bd82x6x/pch.h> #include <smbios.h> #include <device/pci.h> -#include <cbfs.h> #include <pc80/keyboard.h> #include <ec/lenovo/h8/h8.h> #include <build.h> @@ -54,8 +50,6 @@ const char *smbios_mainboard_bios_version(void) return "CBET4000 " COREBOOT_VERSION; }
- - static void mainboard_init(device_t dev) { RCBA32(0x38c8) = 0x00002005;