diff options
author | Brian Norris <computersforpeace@gmail.com> | 2014-09-16 03:28:16 +0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-09-16 03:28:16 +0400 |
commit | 7622d4905a038961da6b1c6c3fe4be6c3dad7ef9 (patch) | |
tree | cce9f4bc0ef2de31cee8e06e2cd6358dd51fa9c5 /include/linux/platform_data/mtd-nand-omap2.h | |
parent | 5b49ab3e03f68eb49db4bce6290e5707b7f6c6f3 (diff) | |
parent | 9e82bf014195d6f0054982c463575cdce24292be (diff) | |
download | linux-7622d4905a038961da6b1c6c3fe4be6c3dad7ef9.tar.xz |
Merge tag 'v3.17-rc5' from upstream
Diffstat (limited to 'include/linux/platform_data/mtd-nand-omap2.h')
-rw-r--r-- | include/linux/platform_data/mtd-nand-omap2.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/linux/platform_data/mtd-nand-omap2.h b/include/linux/platform_data/mtd-nand-omap2.h index 660c029d694f..16ec262dfcc8 100644 --- a/include/linux/platform_data/mtd-nand-omap2.h +++ b/include/linux/platform_data/mtd-nand-omap2.h @@ -21,8 +21,17 @@ enum nand_io { }; enum omap_ecc { - /* 1-bit ECC calculation by GPMC, Error detection by Software */ - OMAP_ECC_HAM1_CODE_HW = 0, + /* + * 1-bit ECC: calculation and correction by SW + * ECC stored at end of spare area + */ + OMAP_ECC_HAM1_CODE_SW = 0, + + /* + * 1-bit ECC: calculation by GPMC, Error detection by Software + * ECC layout compatible with ROM code layout + */ + OMAP_ECC_HAM1_CODE_HW, /* 4-bit ECC calculation by GPMC, Error detection by Software */ OMAP_ECC_BCH4_CODE_HW_DETECTION_SW, /* 4-bit ECC calculation by GPMC, Error detection by ELM */ |