From patchwork Tue Nov 20 00:05:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Hecht X-Patchwork-Id: 1769771 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 89E9F3FCDE for ; Tue, 20 Nov 2012 00:05:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752837Ab2KTAFI (ORCPT ); Mon, 19 Nov 2012 19:05:08 -0500 Received: from mail-ea0-f174.google.com ([209.85.215.174]:56893 "EHLO mail-ea0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752541Ab2KTAFH (ORCPT ); Mon, 19 Nov 2012 19:05:07 -0500 Received: by mail-ea0-f174.google.com with SMTP id e13so2196429eaa.19 for ; Mon, 19 Nov 2012 16:05:05 -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=+GTwfzqswRtBrQTDQNJ53xf5xctQL3AHtYEWCM3pvy4=; b=d/uJKd2jdut+yuuyya5NysfaYD1e5tB312e0VNOzGlmWPnHjtqmhbVCBlJ/dmFJLlW 4eeKIyC/oFMrQ6CDoAIBWuVqh04bZQI42G1gtvqgfukkt+KeSiTLq4DwTFqzajCkq5To CC6KQx+2q4XQQ8uWLAmmzzamnALZh+wqtOcBI9WP/Z62FJEHYjXf/EOkdlKUcj28x3uk KO6e59CYJL/bZYUai0/W9idHcyf9pJRwpmzkB+WjJJU4ziA2lU+ZmN1MdNC7Zt7tP2Gx clsgdzpbWIhEOX5LHbTgYjnZ1GBZb/kjk4nG5sY7xqbKt4R2cdUhFQL518gexUhIrM5w kW1A== Received: by 10.14.203.132 with SMTP id f4mr28669825eeo.11.1353369905573; Mon, 19 Nov 2012 16:05:05 -0800 (PST) Received: from ipanema.abspannwerk.de (p4FD24CBE.dip.t-dialin.net. [79.210.76.190]) by mx.google.com with ESMTPS id a44sm27117031eeo.7.2012.11.19.16.05.04 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Nov 2012 16:05:04 -0800 (PST) From: Bastian Hecht To: Simon Horman Cc: linux-sh@vger.kernel.org Subject: [PATCH] ARM: shmobile: mackerel: Add FLCTL IRQ resource Date: Tue, 20 Nov 2012 01:05:00 +0100 Message-Id: <1353369900-3384-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 3c7ea4e (mtd: sh_flctl: Add support for error IRQ) 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 Signed-off-by: Simon Horman --- v1: extended commit v2: added commit message of referenced patch 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 = {