MTD map drivers (FSL UPM NAND)

Scott Wood scottwood at freescale.com
Fri Oct 10 08:17:51 EST 2008


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


More information about the Linuxppc-embedded mailing list