zynq: nand: Runtime detection of nand buswidth through slcr
authorMichal Simek <michal.simek@xilinx.com>
Wed, 26 Oct 2016 08:49:37 +0000 (10:49 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 15 Nov 2016 14:27:51 +0000 (15:27 +0100)
commitcde28c815581d5b1086ef1e84613367ae96df085
tree82566b2531a9a5417baff1d62d56ed41f082995d
parentba8adb26a0ad99097a0e222fb8c29c52e69d0162
zynq: nand: Runtime detection of nand buswidth through slcr

This patch adds support to check the buswidth on nand flash
at runtime based on nand MIO configurations done by FSBL.

User needs to correctly configure the MIO's based on the
buswidth supported by the nand flash which is present on the board.

Added nand8 and nand16 @periph names on slcr driver.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/slcr.c