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:
@@ -254,7 +254,7 @@ static void at91sam7_read_clock_info(struct flash_bank *bank)
|
||||
at91sam7_info->mck_freq = tmp;
|
||||
}
|
||||
|
||||
/* Setup the timimg registers for nvbits or normal flash */
|
||||
/* Setup the timing registers for nvbits or normal flash */
|
||||
static void at91sam7_set_flash_mode(struct flash_bank *bank, int mode)
|
||||
{
|
||||
uint32_t fmr, fmcn = 0, fws = 0;
|
||||
@@ -377,7 +377,7 @@ static int at91sam7_read_part_info(struct flash_bank *bank)
|
||||
/* re-calculate master clock frequency */
|
||||
at91sam7_read_clock_info(t_bank);
|
||||
|
||||
/* no timming */
|
||||
/* no timing */
|
||||
at91sam7_set_flash_mode(t_bank, FMR_TIMING_NONE);
|
||||
|
||||
/* check protect state */
|
||||
@@ -415,7 +415,7 @@ static int at91sam7_read_part_info(struct flash_bank *bank)
|
||||
/* calculate master clock frequency */
|
||||
at91sam7_read_clock_info(t_bank);
|
||||
|
||||
/* no timming */
|
||||
/* no timing */
|
||||
at91sam7_set_flash_mode(t_bank, FMR_TIMING_NONE);
|
||||
|
||||
/* check protect state */
|
||||
@@ -623,7 +623,7 @@ static int at91sam7_read_part_info(struct flash_bank *bank)
|
||||
/* calculate master clock frequency */
|
||||
at91sam7_read_clock_info(t_bank);
|
||||
|
||||
/* no timming */
|
||||
/* no timing */
|
||||
at91sam7_set_flash_mode(t_bank, FMR_TIMING_NONE);
|
||||
|
||||
/* check protect state */
|
||||
|
||||
Reference in New Issue
Block a user