On Wed, Jul 01, 2015 at 04:38:25PM +1200, Mark Tomlinson wrote: > 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.tomlin...@alliedtelesis.co.nz>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot