]> git.sur5r.net Git - openocd/commit
dsp5680xx - match page erase with mass erase
authorrodrigo_l_rosa <rodrigorosa.lg@gmail.com>
Mon, 21 Nov 2011 18:34:24 +0000 (10:34 -0800)
committerØyvind Harboe <oyvindharboe@gmail.com>
Thu, 24 Nov 2011 23:26:50 +0000 (23:26 +0000)
commitf80ef648586dc7eaa7e9b2a82b7ef4b841db3409
tree26655af4f6f24024c5cc4fed795847cb221b9ecf
parent83be6cfc1602cb35cd2d90870d75e179074b17aa
dsp5680xx - match page erase with mass erase

when last==first==0 then mass erase is executed, it's faster.
the page marking was wrong in this case.

Change-Id: I5c579d59b5c4778cf057cb5986e086abdd4209b2
Signed-off-by: Rodrigo L. Rosa <rodrigorosa.lg@gmail.com>
Reviewed-on: http://openocd.zylin.com/232
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
src/flash/nor/dsp5680xx_flash.c