linux-mips
[Top] [All Lists]

[PATCH 2/2] MIPS: JZ4740: qi_lb60: Look for NAND chip in bank 1.

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 2/2] MIPS: JZ4740: qi_lb60: Look for NAND chip in bank 1.
From: Maarten ter Huurne <maarten@treewalker.org>
Date: Thu, 29 Mar 2012 19:17:02 +0200
Cc: linux-mips@linux-mips.org, Maarten ter Huurne <maarten@treewalker.org>
In-reply-to: <1333041422-20411-1-git-send-email-maarten@treewalker.org>
References: <1333041422-20411-1-git-send-email-maarten@treewalker.org>
Sender: linux-mips-bounce@linux-mips.org
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>
---
 arch/mips/jz4740/board-qi_lb60.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c
index 9aea1f3..11752ea 100644
--- a/arch/mips/jz4740/board-qi_lb60.c
+++ b/arch/mips/jz4740/board-qi_lb60.c
@@ -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*/
-- 
1.7.7


<Prev in Thread] Current Thread [Next in Thread>