summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-03-13 14:13:30 +1100
committerDamien George <damien.p.george@gmail.com>2018-03-13 14:13:30 +1100
commitbdc875e602f687bf0fb28c3a18565ffec4157f59 (patch)
tree06121f4fa58166bc64a662fa3eab289277abd72f /docs/reference
parente0bc438e4badb8f2d356479a3bee2b9c45fd69ca (diff)
drivers/memory/spiflash: Fix bugs in and clean up read/write functions.
mp_spiflash_read had a bug in it where "dest" and "addr" were incremented twice for a certain special case. This was fixed, which then allowed the function to be simplified to reduce code size. mp_spiflash_write had a bug in it where "src" was not incremented correctly for the case where the data to be written included the caching buffer as well as some bytes after this buffer. This was fixed and the resulting code simplified.
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions