summaryrefslogtreecommitdiff
path: root/net/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-20 05:16:07 (GMT)
committerSimon Glass <sjg@chromium.org>2015-01-24 04:44:59 (GMT)
commit9b0e35cb4889eb04a7ea5dd648d73df0bf37cc68 (patch)
tree5e3b454e1d4d9a07de41419d56c62b40633adddf /net/Makefile
parent5da38086bd6c39efd09e57900702b99541844339 (diff)
downloadu-boot-fsl-qoriq-9b0e35cb4889eb04a7ea5dd648d73df0bf37cc68.tar.xz
net: Add a separate file for IP checksumming
Move the checksum code out into its own file so it can be used elsewhere. Also use a new version which supports a length which is not a multiple of 2 and add a new function to add two checksums. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 9425950..e9cc8ad 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -7,6 +7,7 @@
#ccflags-y += -DDEBUG
+obj-y += checksum.o
obj-$(CONFIG_CMD_NET) += arp.o
obj-$(CONFIG_CMD_NET) += bootp.o
obj-$(CONFIG_CMD_CDP) += cdp.o