summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc87417/pc87417.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2015-01-04 16:17:54 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2015-01-04 13:48:03 +0100
commitb8f05d4faab11a7b726963dc3821a682281eea02 (patch)
tree3d4352f5db4fd0ef6b4f6a50049ed0f96b2964c5 /src/superio/nsc/pc87417/pc87417.h
parentdb1a2fb3df73fe65381b52089fb890ba3c4f5122 (diff)
downloadcoreboot-b8f05d4faab11a7b726963dc3821a682281eea02.tar.xz
superio/nsc/pc87417: Use link-time symbols over .c inclusion
Change-Id: I2efb7ab4b69bcd127b2faf54277dc229c9dcf3ea Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/8078 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/superio/nsc/pc87417/pc87417.h')
-rw-r--r--src/superio/nsc/pc87417/pc87417.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/superio/nsc/pc87417/pc87417.h b/src/superio/nsc/pc87417/pc87417.h
index e7d5413cc7..2e369cf9ce 100644
--- a/src/superio/nsc/pc87417/pc87417.h
+++ b/src/superio/nsc/pc87417/pc87417.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SUPERIO_NSC_PC87417_PC87417_H
-#define SUPERIO_NSC_PC87417_PC87417_H
+#ifndef SUPERIO_NSC_PC87417_H
+#define SUPERIO_NSC_PC87417_H
#define PC87417_FDC 0x00 /* Floppy */
#define PC87417_PP 0x01 /* Parallel Port */
@@ -114,9 +114,13 @@
#define PC87417_XSCNF 0x15
#define PC87417_XWBCNF 0x16
-#if defined(__PRE_RAM__)
+#include <arch/io.h>
+#include <stdint.h>
+
void pc87417_enable_serial(pnp_devfn_t dev, u16 iobase);
+void pc87417_disable_dev(pnp_devfn_t dev);
void pc87417_enable_dev(pnp_devfn_t dev);
-#endif
-#endif
+void xbus_cfg(pnp_devfn_t dev);
+
+#endif /* SUPERIO_NSC_PC87417_H */