flash: fix typos and duplicated words
Fix typos and duplicated words in comments and strings. Change-Id: I64282c7018462deefeeb8e5f4d0d81942425b3fc Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5758 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-by: Christopher Head <chead@zaber.com>
This commit is contained in:
@@ -347,7 +347,7 @@ static int w600_probe(struct flash_bank *bank)
|
||||
bank->sectors[i].offset = i * W600_FLASH_SECSIZE;
|
||||
bank->sectors[i].size = W600_FLASH_SECSIZE;
|
||||
bank->sectors[i].is_erased = -1;
|
||||
/* offset 0 to W600_FLASH_PROTECT_SIZE shoule be protected */
|
||||
/* offset 0 to W600_FLASH_PROTECT_SIZE should be protected */
|
||||
bank->sectors[i].is_protected = (i < W600_FLASH_PROTECT_SIZE / W600_FLASH_SECSIZE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user