From fbb02a5f9d8aa04ce69ed955f739022a1e0dce9f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 9 Apr 2010 15:39:21 +0000 Subject: [PATCH] zero warning days. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5398 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/asus/a8v-e_se/acpi_tables.c | 1 + src/mainboard/asus/a8v-e_se/romstage.c | 5 ----- src/mainboard/tyan/s2891/romstage.c | 4 ---- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/mainboard/asus/a8v-e_se/acpi_tables.c b/src/mainboard/asus/a8v-e_se/acpi_tables.c index dd94b85215..de957a8f78 100644 --- a/src/mainboard/asus/a8v-e_se/acpi_tables.c +++ b/src/mainboard/asus/a8v-e_se/acpi_tables.c @@ -86,6 +86,7 @@ unsigned long write_acpi_tables(unsigned long start) acpi_rsdp_t *rsdp; acpi_srat_t *srat; acpi_rsdt_t *rsdt; + acpi_madt_t *madt; acpi_mcfg_t *mcfg; acpi_fadt_t *fadt; acpi_facs_t *facs; diff --git a/src/mainboard/asus/a8v-e_se/romstage.c b/src/mainboard/asus/a8v-e_se/romstage.c index a322eb2e45..e5afff37d3 100644 --- a/src/mainboard/asus/a8v-e_se/romstage.c +++ b/src/mainboard/asus/a8v-e_se/romstage.c @@ -117,11 +117,6 @@ void soft_reset(void) #include "cpu/amd/model_fxx/fidvid.c" #include "northbridge/amd/amdk8/resourcemap.c" -void hard_reset(void) -{ - print_info("NO HARD RESET. FIX ME!\n"); -} - unsigned int get_sbdn(unsigned bus) { device_t dev; diff --git a/src/mainboard/tyan/s2891/romstage.c b/src/mainboard/tyan/s2891/romstage.c index ec9861cb32..60f2c598a3 100644 --- a/src/mainboard/tyan/s2891/romstage.c +++ b/src/mainboard/tyan/s2891/romstage.c @@ -79,8 +79,6 @@ static inline int spd_read_byte(unsigned device, unsigned address) static void sio_setup(void) { - - unsigned value; uint32_t dword; uint8_t byte; @@ -102,9 +100,7 @@ static void sio_setup(void) dword = pci_read_config32(PCI_DEV(0, CK804_DEVN_BASE+1 , 0), 0xa4); dword |= (1<<16); pci_write_config32(PCI_DEV(0, CK804_DEVN_BASE+1 , 0), 0xa4, dword); - #endif - } void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)