summaryrefslogtreecommitdiff
path: root/include/atmel_lcdc.h
diff options
context:
space:
mode:
authorMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>2015-07-01 16:38:25 +1200
committerTom Rini <trini@konsulko.com>2015-08-12 20:47:30 -0400
commit2d6d93a2ddb7111f42e87d3e0d8be754d4bcfb52 (patch)
tree22dfd188d10087b3288e6a8e157af9c5ac33764b /include/atmel_lcdc.h
parent891224a5d8a54200d8b587284cab18b693a72dea (diff)
downloadu-boot-imx-2d6d93a2ddb7111f42e87d3e0d8be754d4bcfb52.zip
u-boot-imx-2d6d93a2ddb7111f42e87d3e0d8be754d4bcfb52.tar.gz
u-boot-imx-2d6d93a2ddb7111f42e87d3e0d8be754d4bcfb52.tar.bz2
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 'include/atmel_lcdc.h')
0 files changed, 0 insertions, 0 deletions