From: Vasili Galka Date: Tue, 4 Mar 2014 15:24:09 +0000 (+0200) Subject: Cosmetic: Typo fixes X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=801cec59076b0d5b0b6946a8a7a6cb77b62f3c8f;p=u-boot.git Cosmetic: Typo fixes Signed-off-by: Vasili Galka --- diff --git a/include/spi_flash.h b/include/spi_flash.h index f79f0eacca..1a11286224 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -52,7 +52,7 @@ enum spi_dual_flash { * @sector_size: Sector size of this device * @nr_sectors: No.of sectors on this device * @e_rd_cmd: Enum list for read commands - * @flags: Importent param, for flash specific behaviour + * @flags: Important param, for flash specific behaviour */ struct spi_flash_params { const char *name; @@ -88,11 +88,11 @@ extern const struct spi_flash_params spi_flash_params_table[]; * @memory_map: Address of read-only SPI flash access * @read: Flash read ops: Read len bytes at offset into buf * Supported cmds: Fast Array Read - * @write: Flash write ops: Write len bytes from buf into offeset + * @write: Flash write ops: Write len bytes from buf into offset * Supported cmds: Page Program * @erase: Flash erase ops: Erase len bytes from offset * Supported cmds: Sector erase 4K, 32K, 64K - * return 0 - Sucess, 1 - Failure + * return 0 - Success, 1 - Failure */ struct spi_flash { struct spi_slave *spi;