summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2016-04-30 19:18:00 -0700
committerTom Rini <trini@konsulko.com>2016-05-02 18:37:09 -0400
commiteae4b2b67bc8c68e2440616a447ca6c6898ad188 (patch)
treeae51716b64a81b720d9513c5e33262c0d0a88e57 /drivers/mtd
parent09c2b8f3e39925e5bdff12cb90add09bc9e117d4 (diff)
downloadu-boot-imx-eae4b2b67bc8c68e2440616a447ca6c6898ad188.zip
u-boot-imx-eae4b2b67bc8c68e2440616a447ca6c6898ad188.tar.gz
u-boot-imx-eae4b2b67bc8c68e2440616a447ca6c6898ad188.tar.bz2
Fix spelling of "occurred".
Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/omap_gpmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c
index 4814fa2..6a45d28 100644
--- a/drivers/mtd/nand/omap_gpmc.c
+++ b/drivers/mtd/nand/omap_gpmc.c
@@ -106,7 +106,7 @@ static uint32_t gen_true_ecc(uint8_t *ecc_buf)
/*
* omap_correct_data - Compares the ecc read from nand spare area with ECC
- * registers values and corrects one bit error if it has occured
+ * registers values and corrects one bit error if it has occurred
* Further details can be had from OMAP TRM and the following selected links:
* http://en.wikipedia.org/wiki/Hamming_code
* http://www.cs.utexas.edu/users/plaxton/c/337/05f/slides/ErrorCorrection-4.pdf
@@ -479,7 +479,7 @@ static void omap_reverse_list(u8 *list, unsigned int length)
/*
* omap_correct_data_bch - Compares the ecc read from nand spare area
- * with ECC registers values and corrects one bit error if it has occured
+ * with ECC registers values and corrects one bit error if it has occurred
*
* @mtd: MTD device structure
* @dat: page data