]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: Hide more code behind CONFIG_CMD_TFTPPUT
authorSimon Glass <sjg@chromium.org>
Wed, 26 Oct 2011 14:18:38 +0000 (14:18 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:53:57 +0000 (23:53 +0200)
commit39bccd21d0c838242fb86bceda759e5640d4d683
treed3ca88c491ec71a1b3df6fc7f383d4f2321b4a1a
parent206d68fdd41e4942825cfc4a91a096297b654a24
net: Hide more code behind CONFIG_CMD_TFTPPUT

This commit reduces code size a little by making the ICMP handler only
available to tftpput. This is reasonable since it is the only user at
present (ping just uses the normal handler).

Signed-off-by: Simon Glass <sjg@chromium.org>
net/net.c
net/tftp.c