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:
@@ -398,10 +398,10 @@ static int lpc288x_protect(struct flash_bank *bank, int set, unsigned int first,
|
||||
|
||||
for (unsigned int lockregion = first; lockregion <= last; lockregion++) {
|
||||
if (set) {
|
||||
/* write an odd value to base addy to protect... */
|
||||
/* write an odd value to base address to protect... */
|
||||
value = 0x01;
|
||||
} else {
|
||||
/* write an even value to base addy to unprotect... */
|
||||
/* write an even value to base address to unprotect... */
|
||||
value = 0x00;
|
||||
}
|
||||
target_write_u32(target, bank->sectors[lockregion].offset, value);
|
||||
|
||||
Reference in New Issue
Block a user