From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw01.freescale.net (az33egw01.freescale.net [192.88.158.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 40250DE121 for ; Fri, 10 Oct 2008 08:17:59 +1100 (EST) Message-ID: <48EE74FF.9000809@freescale.com> Date: Thu, 09 Oct 2008 16:17:51 -0500 From: Scott Wood MIME-Version: 1.0 To: Alemao Subject: Re: MTD map drivers (FSL UPM NAND) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Alemao wrote: > Hi all, > > Im trying to use a physmap driver for NOR and NAND flash devices. You can't use physmap with NAND. > ranges = <0 0 ff000000 1000000 // nor flash, 16 MB > 1 0 60000000 4000000>; // nand flash, 64 MB Is your NAND window really that large? I'm not too familiar with UPM, but typically it'd only be a few KiB. > So, how can I load the UPM driver before physmap? Just stop pointing physmap at the NAND. -Scott