]> git.sur5r.net Git - u-boot/commit
driver/nand: Update SRAM initialize logic for IFC.
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Thu, 12 Jun 2014 06:44:00 +0000 (12:14 +0530)
committerYork Sun <yorksun@freescale.com>
Tue, 22 Jul 2014 23:25:54 +0000 (16:25 -0700)
commit04818bbdc34cb02b2590af8e5f77118ed8a8d755
treef8e51caef6aac425789ff8e18b49003c462f5b3c
parent3bab3d8324874604501ff9154e68732fb986057a
driver/nand: Update SRAM initialize logic for IFC.

IFC controller v1.1.0 requires internal SRAM initialize by reading
NAND flash. Higher controller versions have provided "SRAM init" bit in
NCFGR register space.

update SRAM initialize logic to reflect the same.

Also print error message in case of Page read error.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/mtd/nand/fsl_ifc_nand.c
include/fsl_ifc.h