summaryrefslogtreecommitdiff
path: root/net/bootp.c
diff options
context:
space:
mode:
authorMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>2015-07-01 04:38:25 (GMT)
committerTom Rini <trini@konsulko.com>2015-08-13 00:47:30 (GMT)
commit2d6d93a2ddb7111f42e87d3e0d8be754d4bcfb52 (patch)
tree22dfd188d10087b3288e6a8e157af9c5ac33764b /net/bootp.c
parent891224a5d8a54200d8b587284cab18b693a72dea (diff)
downloadu-boot-2d6d93a2ddb7111f42e87d3e0d8be754d4bcfb52.tar.xz
JFFS2: Improve speed reading flash files
jffs2_1pass_read_inode() would read the entire data for each node in the filesystem, regardless of whether it was part of the file to be loaded or not. By only reading the header data for an inode, and then reading the data only when it is found to be part of the file to be loaded, much copying of data is saved. jffs2_1pass_list_inodes() read each inode for every file in the directory into a buffer. By using NULL as a buffer pointer, NOR flash simply returns a pointer, and therefore avoids a memory copy. Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Diffstat (limited to 'net/bootp.c')
0 files changed, 0 insertions, 0 deletions