Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP

From: Jared Hulbert
Date: Fri Jun 08 2007 - 12:05:43 EST


On 6/8/07, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
On Fri, Jun 08, 2007 at 09:59:20AM +0200, Carsten Otte wrote:
> Christoph Hellwig wrote:
> >Jared's patch currently does ioremap on mount (and no iounmap at all).
> >That mapping needs to move from the filesystem to the device driver.
> The device driver needs to do ioremap on open(), and iounmap() on
> release. That's effectively what our block driver does.

Yes, exactly.

Okay so we need some driver that opens/closes this ROM. This has been
done from the dcss block device but that doesn't make sense for most
embedded systems. The MTD allows for this with point(),unpoint().
That should work just fine. It does introduce the MTD as a dependancy
which is unnecessary in many systems, but it will work now.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/