diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-30 20:44:30 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-30 20:44:30 +0000 |
commit | 80d9804ff776c677932937ac3faf494acf378b45 (patch) | |
tree | 6c3bdad8d9311c962aa05635a5f11c82df4d72a6 /src/superio/winbond/w83627ehg/w83627ehg.h | |
parent | 2c32e9902c4f4a76e404a9a3e673857d5fe7835b (diff) | |
download | coreboot-80d9804ff776c677932937ac3faf494acf378b45.tar.xz |
fix superio warnings. interesting side node: most superio .h files have no
guards.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5520 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/winbond/w83627ehg/w83627ehg.h')
-rw-r--r-- | src/superio/winbond/w83627ehg/w83627ehg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/superio/winbond/w83627ehg/w83627ehg.h b/src/superio/winbond/w83627ehg/w83627ehg.h index aeda043fcb..9e32f64c23 100644 --- a/src/superio/winbond/w83627ehg/w83627ehg.h +++ b/src/superio/winbond/w83627ehg/w83627ehg.h @@ -44,3 +44,9 @@ #define W83627EHG_GPIO3 ((1 << 8) | 9) #define W83627EHG_GPIO4 ((2 << 8) | 9) #define W83627EHG_GPIO5 ((3 << 8) | 9) + +#if defined(__PRE_RAM__) && !defined(__ROMCC__) +void w83627ehg_enable_dev(device_t dev, unsigned iobase); +void w83627ehg_disable_dev(device_t dev); +void w83627ehg_enable_serial(device_t dev, unsigned iobase); +#endif |