summaryrefslogtreecommitdiff
path: root/src/mainboard/bcom/winnetp680
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-14 10:12:23 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-14 10:12:23 +0000
commit4154c668f24da79672099dfac06f5263c415fee0 (patch)
tree260835bf16506bce6bc8f3837a16a352c679c486 /src/mainboard/bcom/winnetp680
parentc264ad930a2579dc235de0c95842374e89ff5d6a (diff)
zero warnings days. Down to under 600 different warnings
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5425 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/bcom/winnetp680')
-rw-r--r--src/mainboard/bcom/winnetp680/romstage.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mainboard/bcom/winnetp680/romstage.c b/src/mainboard/bcom/winnetp680/romstage.c
index 4bd7a45844..05f436e65e 100644
--- a/src/mainboard/bcom/winnetp680/romstage.c
+++ b/src/mainboard/bcom/winnetp680/romstage.c
@@ -39,10 +39,6 @@
#include "superio/winbond/w83697hf/w83697hf_early_serial.c"
#define SERIAL_DEV PNP_DEV(0x2e, W83697HF_SP1)
-static void memreset_setup(void)
-{
-}
-
static inline int spd_read_byte(unsigned device, unsigned address)
{
return smbus_read_byte(device, address);
@@ -53,8 +49,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
static void enable_mainboard_devices(void)
{
device_t dev;
- u8 reg;
-
dev = pci_locate_device(PCI_ID(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VT8237R_LPC), 0);
if (dev == PCI_DEV_INVALID)
die("Southbridge not found!!!\n");
@@ -89,9 +83,6 @@ static const struct mem_controller ctrl = {
void main(unsigned long bist)
{
- unsigned long x;
- device_t dev;
-
/* Enable multifunction for northbridge. */
pci_write_config8(ctrl.d0f0, 0x4f, 0x01);