Skip to content

Clean up some io.h and associated code

Arnd Bergmann linux-arm-kernel 1 version New

Get series with b4
b4 am 9736370.N3v9K0B2fU@wuerfel

Versions newest first

  1. v1 Latest0 of 10 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 10 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] Clean up some io.h and associated code
Quoted 7 lines · On Sunday 21 August 2011 09:37:44 Russell King - ARM Linux wrote:
Quoted 4 lines

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