Nand Flash not found.

Thomas Gleixner tglx at linutronix.de
Fri May 6 08:10:03 EDT 2005


On Fri, 2005-05-06 at 11:52 +0200, Marcus Mikolaiczyk wrote:
>   value=0x90;
....
>   va[3]=NANDF_DATA;

The code in nand_scan does exactly the same

> Results:
> Maker Code: ec     Device Type: da

{"NAND 256MiB 3,3V 8-bit", 	0xDA, 0, 256, 0, ..

Thats the entry from nand_ids.c

> static int BTU_NAND_BASE = 0xAE000000;

> BTU_NAND_VIRT_BASE=(unsigned long)ioremap(BTU_NAND_BASE,SZ_4K);
> this->IO_ADDR_R = BTU_NAND_BASE;
> this->IO_ADDR_W = BTU_NAND_BASE;
-------------------^^^^^^^^^^^^^^
Using the virtual address instead of the physical address might be
helpful.

tglx








More information about the linux-mtd mailing list