]> git.dujemihanovic.xyz Git - u-boot.git/commit
nand: arasan_nfc: Fixed NAND write issue
authorVipul Kumar <vipul.kumar@xilinx.com>
Sat, 10 Mar 2018 12:22:23 +0000 (17:52 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 9 Apr 2018 10:14:50 +0000 (12:14 +0200)
commit6fbbe2d8f671920948a0b1882c6884cfdd0cbe67
tree2764e465bc577f27476a093770f54463b167421e
parent71723aaec5e6dbfbc401d65461fe1cae98912e79
nand: arasan_nfc: Fixed NAND write issue

In commit 2453c695185f ("arm64: zynqmp: nand: Fixed NAND erase issue for
size 1GiB or more"), ARASAN_NAND_MEM_ADDR1_PAGE_MASK macro changed
to 0xFFFF and the same macro is used in nand write and so that getting
nand write error.
This patch reverted this macro to the 0xFFFF0000 and used
ARASAN_NAND_MEM_ADDR1_COL_MASK in the nand erase function
which is equal to 0xFFFF.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mtd/nand/arasan_nfc.c