From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Jackson Subject: Re: [PATCH 11/14] ARM: OMAP2+: Add device-tree support for NOR flash Date: Wed, 06 Mar 2013 16:48:43 +0000 Message-ID: <5137736B.9050501@mimc.co.uk> References: <1361899842-30303-1-git-send-email-jon-hunter@ti.com> <1361899842-30303-12-git-send-email-jon-hunter@ti.com> <51360271.1030302@mimc.co.uk> <51360562.20309@ti.com> <51361B46.507@mimc.co.uk> <51362BAB.10403@ti.com> <513664EC.2050508@ti.com> <5137192E.1010101@mimc.co.uk> <513744F4.7050503@mimc.co.uk> <5137726D.10702@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mercuryimc.plus.com ([80.229.200.144]:42448 "EHLO centos1.newflow.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752691Ab3CFQsp (ORCPT ); Wed, 6 Mar 2013 11:48:45 -0500 In-Reply-To: <5137726D.10702@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Jon Hunter Cc: Rob Herring , Grant Likely , Tony Lindgren , Benoit Cousson , device-tree , linux-omap , linux-arm , Daniel Mack On 06/03/13 16:44, Jon Hunter wrote: > > On 03/06/2013 07:30 AM, Mark Jackson wrote: >> On 06/03/13 10:23, Mark Jackson wrote: >>> [ 1.541884] gpmc_probe_nor_child 1 >>> [ 1.545483] GPMC_CS_CONFIG7_0 : 00000f48 >>> [ 1.549621] GPMC_CS_CONFIG7_1 : 00000f58 >>> [ 1.553812] GPMC_CS_CONFIG7_2 : 00000f00 >>> [ 1.557951] GPMC_CS_CONFIG7_3 : 00000c5a >> >> 0x00000c5a is an invalid mode !! >> >> I'm trying to use a 64MB address space but not on a 64MB boundary ... oops. > > Good catch. So this is now working for you then? Not yet ... I got distracted by something else !?! I'll take another look tomorrow. Do you think it might be worth adding some sanity checking to the cs config routines to trap similar errors ? Cheers Mark J.