summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci_sh7780.c
diff options
context:
space:
mode:
authorMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>2015-07-01 16:38:23 +1200
committerTom Rini <trini@konsulko.com>2015-08-12 20:47:29 -0400
commit225cf4cdf9ffd73978f4a266d3ecc6c88b048a74 (patch)
tree466372846b3fdfbb32f246b2466f8e4ace5478a2 /drivers/pci/pci_sh7780.c
parent3799b3f4adff8b00017340d0b9b41a99e0cc3804 (diff)
downloadtalos-obmc-uboot-225cf4cdf9ffd73978f4a266d3ecc6c88b048a74.tar.gz
talos-obmc-uboot-225cf4cdf9ffd73978f4a266d3ecc6c88b048a74.zip
JFFS2: Speed up and fix comparison functions
Copying complete nodes from flash can be slow if the flash is slow to read. By only reading the data needed, the sorting operation can be made much faster. The directory entry comparison function also had a two bugs. First, it did not ensure the name was copied, so the name comparison may have been faulty (although it would have worked with NOR flash). Second, setting the ino to zero to ignore the entry did not work, since this was either writing to a temporary buffer, or (for NOR flash) directly to flash. Either way, the change was not remembered. Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Diffstat (limited to 'drivers/pci/pci_sh7780.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud