summaryrefslogtreecommitdiff
path: root/lib/crc16.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-23 05:28:15 -0400
committerWolfgang Denk <wd@denx.de>2010-08-09 00:26:04 +0200
commit8faba4894c6e2bafbfab17260f3db17867cd50d2 (patch)
treeff0250e8434708d53d2d58fbd0363962f12da028 /lib/crc16.c
parent8011ec638e16695081ce65ce3997499ba41c8ba3 (diff)
downloadu-boot-imx-8faba4894c6e2bafbfab17260f3db17867cd50d2.zip
u-boot-imx-8faba4894c6e2bafbfab17260f3db17867cd50d2.tar.gz
u-boot-imx-8faba4894c6e2bafbfab17260f3db17867cd50d2.tar.bz2
cmd editing: optimize/shrink output blanking
No need to output spaces 1 char at a time in a loop when the printf code can do the same thing with the right format string. This shrinks things and gives a nice speed up when killing off lines more than a byte or two as printf will send out the buffer in one big chunk. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions