aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>2019-07-16 17:14:50 +0200
committerTomas Vanek <vanekt@fbl.cz>2019-08-04 09:31:38 +0100
commit16496488d10fc9f6c340b81446a85eef2c95ce00 (patch)
tree4e725584d8f2670829c0257318db2a266c30cc27
parent320f7517c438b690039b6ea3d1320b04ccfabea1 (diff)
downloadriscv-openocd-16496488d10fc9f6c340b81446a85eef2c95ce00.zip
riscv-openocd-16496488d10fc9f6c340b81446a85eef2c95ce00.tar.gz
riscv-openocd-16496488d10fc9f6c340b81446a85eef2c95ce00.tar.bz2
flash/nor/core: fix some minor typo
Change-Id: I03832b3e4a6eaadfd87729a3a898e0a2cd30931a Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-on: http://openocd.zylin.com/5264 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r--src/flash/nor/core.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/flash/nor/core.h b/src/flash/nor/core.h
index a8edb2d..ff5cb60 100644
--- a/src/flash/nor/core.h
+++ b/src/flash/nor/core.h
@@ -121,7 +121,7 @@ struct flash_bank {
/**
* The number of sectors on this chip. This value will
- * be set intially to 0, and the flash driver must set this to
+ * be set initially to 0, and the flash driver must set this to
* some non-zero value during "probe()" or "auto_probe()".
*/
int num_sectors;
@@ -130,12 +130,12 @@ struct flash_bank {
/**
* The number of protection blocks in this bank. This value
- * is set intially to 0 and sectors are used as protection blocks.
+ * is set initially to 0 and sectors are used as protection blocks.
* Driver probe can set protection blocks array to work with
* protection granularity different than sector size.
*/
int num_prot_blocks;
- /** Array of protection blocks, allocated and initilized by the flash driver */
+ /** Array of protection blocks, allocated and initialized by the flash driver */
struct flash_sector *prot_blocks;
struct flash_bank *next; /**< The next flash bank on this chip */
@@ -242,8 +242,8 @@ struct flash_bank *get_flash_bank_by_name_noprobe(const char *name);
*/
int get_flash_bank_by_num(int num, struct flash_bank **bank);
/**
- * Retreives @a bank from a command argument, reporting errors parsing
- * the bank identifier or retreiving the specified bank. The bank
+ * Retrieves @a bank from a command argument, reporting errors parsing
+ * the bank identifier or retrieving the specified bank. The bank
* may be identified by its bank number or by @c name.instance, where
* @a instance is driver-specific.
* @param name_index The index to the string in args containing the