]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm64: zynqmp: nand: 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>
Sat, 10 Mar 2018 13:20:47 +0000 (14:20 +0100)
commit083ee72ca77bb19333e9f78b030e8539d43e77cd
tree71c7711ac56c0beab2e00b798de44ef0e7dfaf29
parent5d9c46831d99935f3abb983b17313d15523532eb
arm64: zynqmp: nand: Fixed NAND write issue

In commit 67faecc3059b ("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