[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-arm-kernel
Subject: Re: ioremap non-contiguous phys to contiguous virt?
From: Nicolas Pitre <nico () cam ! org>
Date: 2004-10-18 21:22:21
Message-ID: Pine.LNX.4.61.0410181720140.4038 () xanadu ! home
[Download RAW message or body]
On Mon, 18 Oct 2004, Russell King - ARM Linux wrote:
> > 1) ignore the problem and create a custom maps driver with NO_XIP set.
> > 2) create a custom maps driver, but use the io_table_init mechanism
> > to map the memory contiguously (eeww)
> > 3) find a clever method to do something like this
> >
> > struct memvec mv = { { PHYS0, LEN0 }, {PHYS1, LEN1 } };
> > void* virt = ioremapv (memvec, 2);
>
> 4) use the mtdconcat driver, just like the SA1100 map driver does.
mtdconcat will create a larger MTD logical out of multiple physical
flash chips. It won't help for the case when the hw is silly enough to
split the _same_ flash chip over different physical areas.
Nicolas
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ: http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic