summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorMaciej Pijanka <maciej.pijanka@gmail.com>2009-10-27 14:29:29 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-27 14:29:29 +0000
commitea92185755a578d9a1b5df5cbf7b05ee2cea2390 (patch)
treed7ffa935cad6e5ae7b50fa5c9ec158e0493df0c5 /src/southbridge
parent18d7c2e31e868c9f9f78b907f607b8a1b98b46aa (diff)
Add few missing prototypes, and remove few unused (thus lonelly) variables.
TODO - x86emu need (imo) some common header with prototypes at least - clog2, ulzma, hardwaremain prototypes added by this patch probably should be moved to some header too. - in src/devices/device_util.c prototype is before function because seems, it is used only within same file, if not it should be moved to debug section of prototypes in include/device/device.h Signed-off-by: Maciej Pijanka <maciej.pijanka@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4871 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/i82371eb/i82371eb.h1
-rw-r--r--src/southbridge/intel/i82371eb/i82371eb_isa.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82371eb/i82371eb.h b/src/southbridge/intel/i82371eb/i82371eb.h
index 5797fce498..00c19e04e3 100644
--- a/src/southbridge/intel/i82371eb/i82371eb.h
+++ b/src/southbridge/intel/i82371eb/i82371eb.h
@@ -24,6 +24,7 @@
#ifndef __ROMCC__
#include "chip.h"
void i82371eb_enable(device_t dev);
+void i82371eb_hard_reset(void);
#endif
/* If 'cond' is true this macro sets the bit(s) specified by 'bits' in the
diff --git a/src/southbridge/intel/i82371eb/i82371eb_isa.c b/src/southbridge/intel/i82371eb/i82371eb_isa.c
index 6a8de8d80e..bc6465b280 100644
--- a/src/southbridge/intel/i82371eb/i82371eb_isa.c
+++ b/src/southbridge/intel/i82371eb/i82371eb_isa.c
@@ -29,7 +29,6 @@
static void isa_init(struct device *dev)
{
- u16 reg16;
u32 reg32;
/* Initialize the real time clock (RTC). */