cmd_sf: add handler for +len arg for erase command
authorRichard Retanubun <RichardRetanubun@ruggedcom.com>
Wed, 16 Feb 2011 21:39:44 +0000 (16:39 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Apr 2011 06:30:25 +0000 (02:30 -0400)
commit334eb4b02f90c7223ee92e49307089590c77992c
tree0d57561f7da221506b51deda8bb3766183a54816
parentf8f0757dcb117664a712650f000433e765acffbd
cmd_sf: add handler for +len arg for erase command

This patch adds [+]len handler for the erase command that will
automatically round up the requested erase length to the flash's
sector_size.

Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_sf.c