cfi_probe_chip problem
Jörn Engel
joern at wohnheim.fh-wedel.de
Tue Jun 3 05:00:13 EDT 2003
On Tue, 3 June 2003 13:41:48 -0700, Vikram Mehta wrote:
>
>
> Let me tell u in detail with a map
> cfi_probe calls
> cfi_probe_chip. calls
> cfi_send_gen_cmd calls
> cfi_build_cmd
> cfi_build_cmd returns
> cfi_send_gen_cmd: code
> if (prev_val)
> *prev_val = cfi_read(map, addr); doesnot satify
> cfi_send_gen_cmd calls
> cfi_write The values called are __u32
> val=250 and __u32 addr = 0
> cfi_write calls
> mymap->write16 calls
> __raw_writew(d, map->map_priv_1 +
> adr);
> __raw_writew(d, map->map_priv_1 +
> adr); returns
> mymap->write16 returns
> cfi_write retruns
> cfi_send_gen_cmd returns
> cfi_probe_chip again calls
> cfi_send_gen_cmd
> .........similar to above stack
> cfi_write The values called are __u32
> val=152 and __u32 addr = 170
> cfi_write calls
> mymap->write16 calls
> __raw_writew(d, map->map_priv_1 +
> adr);
> DOES NOT RETURN
> Whay could be wrong here?
You might be using a proportional font. The result is completely
unreadable for anyone else. Set your font to courier and redraw.
Jörn
--
Victory in war is not repetitious.
-- Sun Tzu
More information about the linux-mtd
mailing list