From patchwork Fri Nov 16 10:36:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Hecht X-Patchwork-Id: 1754231 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 4AB4F3FCDE for ; Fri, 16 Nov 2012 10:36:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751219Ab2KPKgO (ORCPT ); Fri, 16 Nov 2012 05:36:14 -0500 Received: from mail-bk0-f46.google.com ([209.85.214.46]:61650 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750894Ab2KPKgO (ORCPT ); Fri, 16 Nov 2012 05:36:14 -0500 Received: by mail-bk0-f46.google.com with SMTP id q16so1102291bkw.19 for ; Fri, 16 Nov 2012 02:36:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=6bp1cBA2etGwNSTebkZxyqZGEjQ+3dPTpbbpzhcbJqI=; b=DlbzTFqmZnaj2nJc2qvRkwJupmYoFyxWUdBbzFHLLyJ9tBywZuPp5aLoBtfDb3eKI5 P1jsZ816wwY96kiKq/iQmTGpCQq9g6aNRoHaPacMwi/nzuVNXBvARiQRdKZ0Idc1hdXy Vj5ACpBIaUPwjWgGtNe6krdsaGkXL5LmMRUnIVecMp7+qDJJKJeQ67ZOOIsaooThp9i0 mUJQ9jUdDCCXPld/jvnXO3GMOLhYgSrCCwZ2chXma+QENgPRYEM6Y+8kLVOryqvqrbAS psrsP5FEUyaEa4OgV/l91z1mNW7qqz898alrpygmvAnq8VcBdUwR6rAJBFzw24i9xPmi riDA== Received: by 10.204.13.12 with SMTP id z12mr1795865bkz.58.1353062172650; Fri, 16 Nov 2012 02:36:12 -0800 (PST) Received: from bender.fritz.box (188-195-197-90-dynip.superkabel.de. [188.195.197.90]) by mx.google.com with ESMTPS id t11sm557559bkv.11.2012.11.16.02.36.11 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 16 Nov 2012 02:36:12 -0800 (PST) From: Bastian Hecht To: linux-sh@vger.kernel.org Cc: Simon Horman Subject: [PATCH v2] ARM: shmobile: mackerel: Add FLCTL IRQ resource Date: Fri, 16 Nov 2012 11:36:11 +0100 Message-Id: <1353062171-20589-1-git-send-email-hechtb@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Since commit 3c7ea4eccfd2e the sh_flctl driver requires the error IRQ line to signal failed transactions between the flash controller and the NAND chip. This information is mandatory - else the driver refuses to start up. We provide it here for the board mackerel. Signed-off-by: Bastian Hecht --- v2: extended commit message arch/arm/mach-shmobile/board-mackerel.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 0c27c81..66ec616 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c @@ -1018,7 +1018,11 @@ static struct resource nand_flash_resources[] = { .start = 0xe6a30000, .end = 0xe6a3009b, .flags = IORESOURCE_MEM, - } + }, + [1] = { + .start = evt2irq(0x0d80), /* flstei: status error irq */ + .flags = IORESOURCE_IRQ, + }, }; static struct sh_flctl_platform_data nand_flash_data = {