aboutsummaryrefslogtreecommitdiff
path: root/src/include/ip_checksum.h
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2010-07-16 20:02:09 +0000
committerRudolf Marek <r.marek@assembler.cz>2010-07-16 20:02:09 +0000
commit4aa93ccd3302d7db0eef00f5963bc991f3f233ff (patch)
tree20c2eafd1c6178df70682a6565e357314236d082 /src/include/ip_checksum.h
parent7fc9e291d7581845461efbdd74b56a8e0360f1e0 (diff)
Add support for the console over Ethernet (through PCI NE2000).
Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Cristian Magherusan-Stanciu <cristi.magherusan@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5666 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/ip_checksum.h')
-rw-r--r--src/include/ip_checksum.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ip_checksum.h b/src/include/ip_checksum.h
index c2cb938294..de26fa06cc 100644
--- a/src/include/ip_checksum.h
+++ b/src/include/ip_checksum.h
@@ -1,7 +1,8 @@
#ifndef IP_CHECKSUM_H
#define IP_CHECKSUM_H
+#ifndef __ROMCC__
unsigned long compute_ip_checksum(void *addr, unsigned long length);
unsigned long add_ip_checksums(unsigned long offset, unsigned long sum, unsigned long new);
-
+#endif
#endif /* IP_CHECKSUM_H */