public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] Reduce code size of libnet
@ 2011-10-27  0:18 Simon Glass
  2011-10-27  0:18 ` [U-Boot] [PATCH 1/3] net: Hide more code behind CONFIG_CMD_TFTPPUT Simon Glass
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Simon Glass @ 2011-10-27  0:18 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-10-27 21:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-27  0:18 [U-Boot] [PATCH 0/3] Reduce code size of libnet Simon Glass
2011-10-27  0:18 ` [U-Boot] [PATCH 1/3] net: Hide more code behind CONFIG_CMD_TFTPPUT Simon Glass
2011-10-27  0:18 ` [U-Boot] [PATCH 2/3] net: Change for loop to memcpy() Simon Glass
2011-10-27  6:02   ` Mike Frysinger
2011-10-27  0:18 ` [U-Boot] [PATCH 3/3] net: Be less picky about decoding the netretry env var Simon Glass
2011-10-27  6:00   ` Mike Frysinger
2011-10-27 13:35     ` Simon Glass
2011-10-27 13:40       ` Mike Frysinger
2011-10-27 21:02       ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox