mtd: mxc_nand: preset_v1_v2: unlock all NAND flash blocks
authorWolfram Stering <wolfram.stering@hale.at>
Fri, 23 Sep 2011 11:53:44 +0000 (13:53 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 23 Sep 2011 12:25:35 +0000 (15:25 +0300)
commit5172ac1c6d2c1e631bc39ddf2d9334e05f69b022
tree1e7e1fd2d6195c03f34e542e931e5ad776af16b8
parent75b66d8ccd5772b00a7328c2cf75bc506ec532a1
mtd: mxc_nand: preset_v1_v2: unlock all NAND flash blocks

For NFC v1, the unlock end block address was 0x4000, which would only
unlock the first 32 blocks of the NAND flash.  Change that value to
0xffff to unlock all available blocks, as is done for NFC v21 as well.

Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
drivers/mtd/nand/mxc_nand.c