]> git.dujemihanovic.xyz Git - u-boot.git/commit
nand: raw: zynq: Do not try to probe driver if nand flash is disabled
authorMichal Simek <michal.simek@xilinx.com>
Tue, 25 Feb 2020 13:40:42 +0000 (14:40 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 Apr 2020 10:52:15 +0000 (12:52 +0200)
commit3811746ed9b48c8a538fc6a6edfe91aaf9acb76a
tree68d578afbe2f7aac9ab4f410471677363ac531b3
parent36f1f3b640c52c9d28a92675b579c2905cee9c8f
nand: raw: zynq: Do not try to probe driver if nand flash is disabled

There is no reason to continue when DT status property indicates that NAND
flash is disabled. But that means that NOR flash should be present that's
why try it find it out.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/nand/raw/zynq_nand.c