How to use EP8260 MTD device?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Ouch!
It was my careless miss.
Surely &physmap_map ==map.
Quoted 9 lines · Shen Rong
Quoted 1 line
physmap_mapby 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_infoQuoted 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 themap_infostruct, which is the 'name'.