summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-09 15:39:21 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-09 15:39:21 +0000
commitfbb02a5f9d8aa04ce69ed955f739022a1e0dce9f (patch)
tree0d0d83a42ec50b29253de9eb0509251bc1ef44c0 /src
parent2c0db453b69e025049bc114c21fdc294648eefdf (diff)
downloadcoreboot-fbb02a5f9d8aa04ce69ed955f739022a1e0dce9f.tar.xz
zero warning days.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5398 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/asus/a8v-e_se/acpi_tables.c1
-rw-r--r--src/mainboard/asus/a8v-e_se/romstage.c5
-rw-r--r--src/mainboard/tyan/s2891/romstage.c4
3 files changed, 1 insertions, 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)