summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/cache.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-24 02:26:19 -0400
committerWolfgang Denk <wd@denx.de>2009-06-12 20:45:48 +0200
commit4c94f6c54bbc4dc5f418da01d8ec01e2adf636be (patch)
treefd2cda9d5f298aa359a1bf69dd19adfce1a4bc55 /cpu/ppc4xx/cache.S
parent3112030a430553768de5d30c05bedf8710784452 (diff)
downloadu-boot-imx-4c94f6c54bbc4dc5f418da01d8ec01e2adf636be.zip
u-boot-imx-4c94f6c54bbc4dc5f418da01d8ec01e2adf636be.tar.gz
u-boot-imx-4c94f6c54bbc4dc5f418da01d8ec01e2adf636be.tar.bz2
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 'cpu/ppc4xx/cache.S')
0 files changed, 0 insertions, 0 deletions