[PATCH 00/10] Clean up some io.h and associated code

Arnd Bergmann arnd at arndb.de
Sun Aug 21 09:21:24 EDT 2011


On Sunday 21 August 2011 09:37:44 Russell King - ARM Linux wrote:
> > I did some research during the Cambourne meeting about of these
> > and found that the omap1 and a91 platforms also need the IO_SPACE_LIMIT
> > defined to 0xffffffff when CONFIG_AT91_CF or CONFIG_OMAP_CF are
> > set, so these fall into the same category as CONFIG_PCMCIA_SOC_COMMON.
> 
> It looks like AT91 and OMAP both only support one socket CF, so it
> probably makes sense to have them converted to use a single 64k window.

If I read arch/arm/mach-at91/at91sam9260_devices.c correctly,
it actually supports two CF slots. However, each slot only
has 2KB worth of I/O space there, so it would still be reasonable
to pretend having 64KB of total space and map the two slots
at 4KB and 8KB offset into that.

	Arnd



More information about the linux-arm-kernel mailing list