summaryrefslogtreecommitdiff
path: root/lib/libfdt/fdt_sw.c
diff options
context:
space:
mode:
authoru-boot@lakedaemon.net <u-boot@lakedaemon.net>2012-03-28 04:37:11 +0000
committerWolfgang Denk <wd@denx.de>2012-06-21 22:49:33 +0200
commit436da3cd233e7166b5ce9293dbd28092cf37bcc9 (patch)
tree847cfa9a6ce8fb20360d0061ea477baf6846a94c /lib/libfdt/fdt_sw.c
parent669df7e42d460233f39e26d7c27d3c17821f4666 (diff)
downloadu-boot-imx-436da3cd233e7166b5ce9293dbd28092cf37bcc9.zip
u-boot-imx-436da3cd233e7166b5ce9293dbd28092cf37bcc9.tar.gz
u-boot-imx-436da3cd233e7166b5ce9293dbd28092cf37bcc9.tar.bz2
ext2load: increase read speed
This patch dramatically drops the amount of time u-boot needs to read a file from an ext2 partition. On a typical 2 to 5 MB file (kernels and initrds) it goes from tens of seconds to a couple seconds. All we are doing here is grouping contiguous blocks into one read. Boot tested on Globalscale Technologies Dreamplug (Kirkwood ARM SoC) with three different files. sha1sums were calculated in Linux userspace, and then confirmed after ext2load. Signed-off-by: Jason Cooper <u-boot@lakedaemon.net> Tested-by: Eric Nelson <eric.nelson@boundarydevices.com> Tested-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'lib/libfdt/fdt_sw.c')
0 files changed, 0 insertions, 0 deletions