ARM/ixp4xx: Make NEED_MACH_IO_H optional
In order to create a proper PCI driver for the IXP4xx
we need to make the old PCI driver and its reliance
on <mach/io.h> optional.
Create a new Kconfig symbol for the legacy PCI driver
IXP4XX_PCI_LEGACY and only activate NEED_MACH_IO_H
for this driver.
A few files need to be adjusted to explicitly include
the <mach/hardware.h> and <mach/cpu.h> headers that
they previously obtained implicitly using <linux/io.h>
that would include <mach/io.h> and in turn include
these two headers.
This breaks our reliance on the old PCI and indirect
PCI support so we can reimplement a proper purely
DT-based driver in the PCI subsystem.
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: Krzysztof Halasa <khalasa@piap.pl>
Cc: Zoltan HERPAI <wigyori@uid0.hu>
Cc: Raylynn Knight <rayknight@me.com>
Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
Showing
- arch/arm/Kconfig 2 additions, 1 deletionarch/arm/Kconfig
- arch/arm/mach-ixp4xx/Kconfig 21 additions, 12 deletionsarch/arm/mach-ixp4xx/Kconfig
- arch/arm/mach-ixp4xx/common.c 0 additions, 1 deletionarch/arm/mach-ixp4xx/common.c
- arch/arm/mach-ixp4xx/fsg-setup.c 1 addition, 0 deletionsarch/arm/mach-ixp4xx/fsg-setup.c
- arch/arm/mach-ixp4xx/nas100d-setup.c 1 addition, 0 deletionsarch/arm/mach-ixp4xx/nas100d-setup.c
- arch/arm/mach-ixp4xx/nslu2-setup.c 1 addition, 0 deletionsarch/arm/mach-ixp4xx/nslu2-setup.c
- drivers/ata/pata_ixp4xx_cf.c 1 addition, 0 deletionsdrivers/ata/pata_ixp4xx_cf.c
- drivers/net/ethernet/xscale/ixp4xx_eth.c 1 addition, 0 deletionsdrivers/net/ethernet/xscale/ixp4xx_eth.c
- drivers/soc/ixp4xx/ixp4xx-npe.c 2 additions, 0 deletionsdrivers/soc/ixp4xx/ixp4xx-npe.c
- drivers/soc/ixp4xx/ixp4xx-qmgr.c 2 additions, 0 deletionsdrivers/soc/ixp4xx/ixp4xx-qmgr.c
Loading
Please register or sign in to comment