summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/mtd/mtd-abi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/x86_64/mtd/mtd-abi.h')
-rw-r--r--include/arch/x86_64/mtd/mtd-abi.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/arch/x86_64/mtd/mtd-abi.h b/include/arch/x86_64/mtd/mtd-abi.h
index a239dac9..1eaf60ac 100644
--- a/include/arch/x86_64/mtd/mtd-abi.h
+++ b/include/arch/x86_64/mtd/mtd-abi.h
@@ -163,9 +163,8 @@ struct mtd_read_req {
#define MTD_CAP_NVRAM (MTD_WRITEABLE | MTD_BIT_WRITEABLE | MTD_NO_ERASE)
/* Obsolete ECC byte placement modes (used with obsolete MEMGETOOBSEL) */
-#define MTD_NANDECC_OFF 0 /* Switch off ECC (Not recommended) */
-#define MTD_NANDECC_PLACE \
- 1 /* Use the given placement in the structure (YAFFS1 legacy mode) */
+#define MTD_NANDECC_OFF 0 /* Switch off ECC (Not recommended) */
+#define MTD_NANDECC_PLACE 1 /* Use the given placement in the structure (YAFFS1 legacy mode) */
#define MTD_NANDECC_AUTOPLACE 2 /* Use the default placement scheme */
#define MTD_NANDECC_PLACEONLY \
3 /* Use the given placement in the structure (Do not store ecc result \