MIPS: JZ4740: qi_lb60: Look for NAND chip in bank 1.
authorMaarten ter Huurne <maarten@treewalker.org>
Thu, 29 Mar 2012 17:17:02 +0000 (19:17 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 23 Jul 2012 12:56:20 +0000 (13:56 +0100)
All NanoNotes have their NAND in bank 1.
Specifying the bank is required since multi-bank support was introduced.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3561/
Acked-By: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/board-qi_lb60.c

index 9a91fe9de69675ff1d74140bc658257637356090..9a3d9de4d04ef219faee3f832027c1416e92e61c 100644 (file)
@@ -140,6 +140,7 @@ static void qi_lb60_nand_ident(struct platform_device *pdev,
 static struct jz_nand_platform_data qi_lb60_nand_pdata = {
        .ident_callback = qi_lb60_nand_ident,
        .busy_gpio = 94,
+       .banks = { 1 },
 };
 
 /* Keyboard*/