summaryrefslogtreecommitdiff
path: root/hwaccess.h
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-02-12 19:35:25 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-02-12 19:35:25 +0000
commite76549a2fd7717af1344cfdb96026fff0d470be1 (patch)
tree4377b78675ae61d7d79b2eefa270aa957cae8379 /hwaccess.h
parent792412e3fc793717415538489ccff5948cf2ce25 (diff)
downloadflashrom-e76549a2fd7717af1344cfdb96026fff0d470be1.tar.gz
Linking in support for the internal programmer doesn't make sense if you
only need hardware (ioport, memory) access. Split internal.c into internal.c and hwaccess.c. Note: This patch was created by "svn cp internal.c hwaccess.c" and then removing stuff from both files. That's why you can't apply the patch as-is before running the svn cp. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Sean Nelson <audiohacked@gmail.com> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@898 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'hwaccess.h')
-rw-r--r--hwaccess.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/hwaccess.h b/hwaccess.h
index 0729226..89469b0 100644
--- a/hwaccess.h
+++ b/hwaccess.h
@@ -133,10 +133,6 @@ inl(uint16_t port)
#endif
#endif
-#if defined(__FreeBSD__) || defined(__DragonFly__)
-extern int io_fd;
-#endif
-
#if !defined(__DARWIN__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
typedef struct { uint32_t hi, lo; } msr_t;
msr_t rdmsr(int addr);