summaryrefslogtreecommitdiff
path: root/board/amcc/canyonlands
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-24 06:26:19 (GMT)
committerWolfgang Denk <wd@denx.de>2009-06-12 18:45:48 (GMT)
commit4c94f6c54bbc4dc5f418da01d8ec01e2adf636be (patch)
treefd2cda9d5f298aa359a1bf69dd19adfce1a4bc55 /board/amcc/canyonlands
parent3112030a430553768de5d30c05bedf8710784452 (diff)
downloadu-boot-4c94f6c54bbc4dc5f418da01d8ec01e2adf636be.tar.xz
nvedit: speed up printing of environment
The printing code would check the same environment byte multiple times and write to the console one byte at a time. For some devices (such as the Blackfin JTAG console which operates in 8 bytes at a time), this is pretty damned slow. So create a small 16 byte buffer to fill up and send to puts as needed. In the process, unify the different print functions, shrink the resulting code (source and compiled), and avoid excess env reads as those too can be somewhat expensive depending on the board. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/amcc/canyonlands')
0 files changed, 0 insertions, 0 deletions