[surf7k/surf8k] fix flash partition table init.

Old code would try to write past the end of flash.

Signed-off-by: Dima Zavin <dima@android.com>
2 files changed