[U-Boot] [PATCH 0/3] Reduce code size of libnet

Simon Glass sjg at chromium.org
Thu Oct 27 02:18:37 CEST 2011


This patch series should change no functionality, but just reduce code size
slightly to what it was before the tftpput series.

Each patch is independent and each can be accepted or rejected as required.
Overall the effect (on ARM) is to reduce the code size to about 5 bytes lower
than it was before tftp when in. On PowerPC the number seems to be a little
more (39 bytes less on the IAD210 board).

Since this changes core net code, it needs to be examined carefully.


Simon Glass (3):
  net: Hide more code behind CONFIG_CMD_TFTPPUT
  net: Change for loop to memcpy()
  net: Be less picky about decoding the netretry env var

 net/net.c  |   22 +++++++++++++---------
 net/tftp.c |    6 ++++--
 2 files changed, 17 insertions(+), 11 deletions(-)

-- 
1.7.3.1



More information about the U-Boot mailing list