mtd: atmel_nand: add a definition for the oob reserved bytes
authorJosh Wu <josh.wu@atmel.com>
Thu, 2 Apr 2015 06:12:33 +0000 (14:12 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 6 Apr 2015 00:47:56 +0000 (17:47 -0700)
commit477478aedc8bdf1925785835609bc7e790f69aef
tree6ab87ad3f0c947dfa2a94a56126cdd0c210cf244
parent3a434f66e6dab645d74a59c95651cdbe16497a50
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>
drivers/mtd/nand/atmel_nand.c
drivers/mtd/nand/atmel_nand_ecc.h