]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mtd: denali: fix NAND_CMD_PARAM command
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 3 Oct 2014 11:03:03 +0000 (20:03 +0900)
committerScott Wood <scottwood@freescale.com>
Thu, 9 Oct 2014 22:33:24 +0000 (17:33 -0500)
commit05968e7cfd5dcc50cfe51d03d119a5e9d77bd07c
tree3e3b85095f496c7e2edb972316dfd377b29d88cd
parentdd0204e48d05f41480743a798b94d5484b664639
mtd: denali: fix NAND_CMD_PARAM command

NAND_CMD_PARAM (0xEC) command is not working on the Denali
NAND controller driver.

Unlike NAND_CMD_READID (0x90), when the NAND_CMD_PARAM command
is followed by an address cycle, the target device goes busy.
(R/B# is deasserted)
Wait until the parameter data are ready.

In addition, unnecessary clear_interrupts() should be removed.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Chin Liang See <clsee@altera.com>
drivers/mtd/nand/denali.c