aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/at91sam4.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2020-07-12 00:00:47 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2020-07-26 20:13:22 +0100
commit9db3e9879db3d89984eea80dc6fd9b1c3c269e58 (patch)
treea296cdb044f6394f9eb6be437c56ceef6faefed3 /src/flash/nor/at91sam4.c
parentf5cc8360fdf4c004c9efa2132645f9319ceef49d (diff)
downloadriscv-openocd-9db3e9879db3d89984eea80dc6fd9b1c3c269e58.zip
riscv-openocd-9db3e9879db3d89984eea80dc6fd9b1c3c269e58.tar.gz
riscv-openocd-9db3e9879db3d89984eea80dc6fd9b1c3c269e58.tar.bz2
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>
Diffstat (limited to 'src/flash/nor/at91sam4.c')
-rw-r--r--src/flash/nor/at91sam4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/nor/at91sam4.c b/src/flash/nor/at91sam4.c
index f282749..4be3a59 100644
--- a/src/flash/nor/at91sam4.c
+++ b/src/flash/nor/at91sam4.c
@@ -22,7 +22,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
****************************************************************************/
-/* Some of the the lower level code was based on code supplied by
+/* Some of the lower level code was based on code supplied by
* ATMEL under this copyright. */
/* BEGIN ATMEL COPYRIGHT */
@@ -2509,7 +2509,7 @@ FLASH_BANK_COMMAND_HANDLER(sam4_flash_bank_command)
}
/**
- * Remove all chips from the internal list without distingushing which one
+ * Remove all chips from the internal list without distinguishing which one
* is owned by this bank. This simplification works only for one shot
* deallocation like current flash_free_all_banks()
*/
@@ -2873,7 +2873,7 @@ static int sam4_write(struct flash_bank *bank,
struct sam4_bank_private *pPrivate;
uint8_t *pagebuffer;
- /* incase we bail further below, set this to null */
+ /* in case we bail further below, set this to null */
pagebuffer = NULL;
/* ignore dumb requests */