]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: Orion5x - Restore parts of io.h, with rework
authorAndrew Lunn <andrew@lunn.ch>
Fri, 22 Jun 2012 18:57:57 +0000 (20:57 +0200)
committerOlof Johansson <olof@lixom.net>
Sat, 23 Jun 2012 23:18:17 +0000 (16:18 -0700)
commit13b957ccc9dde6600dc85a4120bbfa00ccdd3c5d
tree0f50e883e363ed48056543ab6a4a1b398fae38ac
parent7cc4c2d8f3cb9212e640c456a9af67a8af9a0c13
ARM: Orion5x - Restore parts of io.h, with rework

Commit 8b9a87ffa47dfaa18568e583f49c37dd1caf6575 (ARM: remove bunch of
now unused mach/io.h files) removed the orion5x io.h. Unfortunately,
this is still needed for the definition of IO_SPACE_LIMIT which
overrides the default 64K. All Orion based systems have 1Mbyte of IO
space per PCI[e] bus, and try to request_resource() this size. Orion5x
has two such PCI buses.

It is likely that the original, removed version, was broken. This
version might be less broken. However, it has not been tested on
hardware with a PCI card, let alone hardware with a PCI card with IO
capabilities.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/Kconfig
arch/arm/mach-orion5x/include/mach/io.h [new file with mode: 0644]