diff options
author | Brian Norris <computersforpeace@gmail.com> | 2012-05-11 16:30:35 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-07-06 13:17:02 -0400 |
commit | 271b874ba1512a1b3bd24edbd4e4116c3b5c15ae (patch) | |
tree | c493b7543d5b31cae60d5309a6fe92f91552fc04 | |
parent | b9bc815c2c01e8cbc6fe894e3b4ff6bb4313ebcb (diff) |
mtd: nand: gpmi: need to use {read,write}_oob_raw
This patch is simply an added warning in the comments. Ideally, this patch
need not be merged, but rather, a developer will write a proper solution
that can use the ecc.read_oob_raw and ecc.write_oob_raw interfaces.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r-- | drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c index a6cad5caba78..6574c6f51b8b 100644 --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c | |||
@@ -1064,6 +1064,9 @@ exit_auxiliary: | |||
1064 | * ECC-based or raw view of the page is implicit in which function it calls | 1064 | * ECC-based or raw view of the page is implicit in which function it calls |
1065 | * (there is a similar pair of ECC-based/raw functions for writing). | 1065 | * (there is a similar pair of ECC-based/raw functions for writing). |
1066 | * | 1066 | * |
1067 | * FIXME: The following paragraph is incorrect, now that there exist | ||
1068 | * ecc.read_oob_raw and ecc.write_oob_raw functions. | ||
1069 | * | ||
1067 | * Since MTD assumes the OOB is not covered by ECC, there is no pair of | 1070 | * Since MTD assumes the OOB is not covered by ECC, there is no pair of |
1068 | * ECC-based/raw functions for reading or or writing the OOB. The fact that the | 1071 | * ECC-based/raw functions for reading or or writing the OOB. The fact that the |
1069 | * caller wants an ECC-based or raw view of the page is not propagated down to | 1072 | * caller wants an ECC-based or raw view of the page is not propagated down to |