driver/nand:Define MAX_BANKS same as SoC defined for IFC
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Thu, 12 Jun 2014 03:43:08 +0000 (09:13 +0530)
committerYork Sun <yorksun@freescale.com>
Tue, 22 Jul 2014 23:25:54 +0000 (16:25 -0700)
commit3bab3d8324874604501ff9154e68732fb986057a
treee823b8dc2721187d6b1c82357a252103849db27a
parentd0bc51407cb1a10bdc0025fb58524c6d13658b83
driver/nand:Define MAX_BANKS same as SoC defined for IFC

The number of chip select used by IFC controller vary from one SoC to other.
For eg. P1010 has 4, T4240 has 8.

Update MAX_BANKS same as SoC defined

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