From patchwork Sat Jul 20 23:07:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Adami X-Patchwork-Id: 2830857 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 32D2B9F9EB for ; Sat, 20 Jul 2013 23:08:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 657512014B for ; Sat, 20 Jul 2013 23:08:25 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 17C6C2014C for ; Sat, 20 Jul 2013 23:08:24 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V0gG2-0005JY-D3; Sat, 20 Jul 2013 23:08:10 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V0gFz-0002l3-7g; Sat, 20 Jul 2013 23:08:07 +0000 Received: from mail-ea0-x234.google.com ([2a00:1450:4013:c01::234]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V0gFs-0002jo-Ls for linux-arm-kernel@lists.infradead.org; Sat, 20 Jul 2013 23:08:01 +0000 Received: by mail-ea0-f180.google.com with SMTP id k10so3096213eaj.25 for ; Sat, 20 Jul 2013 16:07:38 -0700 (PDT) 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=wvH1m/K3ntLLxSJKIdPzSaTST9dINPv6V1v3rGflGuA=; b=oAw7ak6GfyCu4i3RLGiyyXBh183YAudVy5pS7DmVY2QnVpHtNIvZtXWYssKhX9YgGV 3l59VzIKvnQkI75rL45ilY39P+WMkULMcjGw+r52XFp7hU+0+3DOdm1odsNIF7ncCWbu PiDPe7iZWYbmbm0MktkWkyR2mI0JhNauCsfE43NhO1m76YDO4whWTX4cAGHhXsitZS5i WTim6Dl760qqJm2WaiytR+MWw0OuMMly9U59JZP6i/TFKm8vF5PaTcvBh9irYAUpof0G nDIvI6Ee68RCkifD0RqgwV7tpl1hCRDDKANYgQowy+mI1I/44Oyk47b+BunfLITm68Da /7wQ== X-Received: by 10.14.4.70 with SMTP id 46mr21110281eei.42.1374361658787; Sat, 20 Jul 2013 16:07:38 -0700 (PDT) Received: from mizar.localdomain (host133-7-dynamic.20-79-r.retail.telecomitalia.it. [79.20.7.133]) by mx.google.com with ESMTPSA id m1sm38612464eex.17.2013.07.20.16.07.37 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 20 Jul 2013 16:07:38 -0700 (PDT) From: Andrea Adami To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] sa1100: collie: fall back to jedec_probe flash detection Date: Sun, 21 Jul 2013 01:07:36 +0200 Message-Id: <1374361656-3034-1-git-send-email-andrea.adami@gmail.com> X-Mailer: git-send-email 1.8.1.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130720_190800_831344_890C1506 X-CRM114-Status: GOOD ( 11.34 ) X-Spam-Score: -2.0 (--) Cc: Russell King , linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Zaurus 5500 contains 2 LH28F640BFHE-PTTL90 (64M 4Mx16) and the LH28F640BFHE-PTTL90.pdf datasheet available on the net shows the exact erasesize and the OTP support. At the moment only jedec_probe can discover the chip and the NOR is mounted read only probably because of wrong vpp. Signed-off-by: Andrea Adami --- arch/arm/mach-sa1100/collie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index 612a456..7fb96eb 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100/collie.c @@ -289,7 +289,7 @@ static void collie_flash_exit(void) } static struct flash_platform_data collie_flash_data = { - .map_name = "cfi_probe", + .map_name = "jedec_probe", .init = collie_flash_init, .set_vpp = collie_set_vpp, .exit = collie_flash_exit,