Subject: Re: MTD map drivers (FSL UPM NAND)

From: Scott Wood <[email-masked]>
Date: Thu, 09 Oct 2008 16:17:51 -0500

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