diff options
author | Josh Wu <josh.wu@atmel.com> | 2015-04-02 08:12:33 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-04-06 02:47:56 +0200 |
commit | 477478aedc8bdf1925785835609bc7e790f69aef (patch) | |
tree | 6ab87ad3f0c947dfa2a94a56126cdd0c210cf244 /drivers/mtd/nand/atmel_nand_ecc.h | |
parent | mtd: part: Remove partition overlap checks (diff) | |
download | linux-477478aedc8bdf1925785835609bc7e790f69aef.tar.xz linux-477478aedc8bdf1925785835609bc7e790f69aef.zip |
mtd: atmel_nand: add a definition for the oob reserved bytes
It's better to use a macro instead of just a number.
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/atmel_nand_ecc.h')
-rw-r--r-- | drivers/mtd/nand/atmel_nand_ecc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/nand/atmel_nand_ecc.h b/drivers/mtd/nand/atmel_nand_ecc.h index d4035e335ad8..668e7358f19b 100644 --- a/drivers/mtd/nand/atmel_nand_ecc.h +++ b/drivers/mtd/nand/atmel_nand_ecc.h @@ -152,4 +152,7 @@ /* Time out value for reading PMECC status register */ #define PMECC_MAX_TIMEOUT_MS 100 +/* Reserved bytes in oob area */ +#define PMECC_OOB_RESERVED_BYTES 2 + #endif |