Problem accessing physical memory...
David Woodhouse
dwmw2 at infradead.org
Thu Jun 29 10:16:06 EDT 2000
akc at pel.dk said:
> I've tried mtdram and it works, but I am going to make a flash driver
> and need access to physical memory.
Ignore slram which I haven't even looked at for months, and look at nora.c
Once we've coded up support for the various kinds of flash chips, all
you'll need to do is provide the mmap access functions defined in
linux/mtd/map.h
ISTR something about PPC falling over if you try a large ioremap() because
it doesn't have a lot of spare VM space. Try smaller dynamic mappings
rather than mapping the whole lot all at once.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list