Skip to contentSkip to conversation

How to use EP8260 MTD device?

DISCUSSION OHMURA Yutaka 1 participant 1 message Feb 27, 2003 1 message not in the archive Memory technology devices (MTD)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Ouch!

It was my careless miss.
Surely &physmap_map ==map.

Quoted 9 lines · Shen Rong
Quoted 1 line

physmap_map by address to do_map_probe.(do_map_probe(*type,

&physmap_map);)

Quoted 2 lines

At this point , &physmap_map == 0xC022E82C.
But in do_map_probe(driver/mtd/chips/chipreg.c:do_map_probe(struct

mtd_info

Quoted 1 line

*do_map_probe(const char *name, struct map_info *map)), *map ==

0xC02D7EA8.
What do you want it to be? The &physmap_map == map, not *map! *map will be the first element in the map_info struct, which is the 'name'.