flash: write_image will now pad erase to nearest sector
authorØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 29 Apr 2010 01:49:32 +0000 (03:49 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 29 Apr 2010 01:54:43 +0000 (03:54 +0200)
commit78248f1df67d1b4feefd8ac4e459acd7599d6af2
treefc9b7ea431d6f9e13ca135fa7b3c175cf7549a48
parent49b7905cae66ee9e011c71aff758fafba823f87f
flash: write_image will now pad erase to nearest sector

this is done for unlocking and it is a simple omission that
it wasn't done for sectors.

The unnerving thing is that nobody has complained about this
until now....

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/flash/nor/core.c