diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-07-04 18:18:40 +0200 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-07-26 16:10:04 +0200 |
commit | dd9bf78040fa0da4cecc228e1682b9682b8cb180 (patch) | |
tree | 9cf716530a0549fdac85b7b7b68badce122ce313 /arch/arm/mach-iop32x | |
parent | ARM: mv78xx0: use fixed pci i/o mapping (diff) | |
download | linux-dd9bf78040fa0da4cecc228e1682b9682b8cb180.tar.xz linux-dd9bf78040fa0da4cecc228e1682b9682b8cb180.zip |
ARM: iop3xx: use fixed PCI i/o mapping
Move iop33x and iop32x PCI to fixed i/o mapping and remove io.h. This
changes the PCI bus addresses from the cpu address to 0 based. It appears
that there is translation h/w for this, but its untested.
Not sure what to do with io_offset. I think it should always be 0.
AFAICT, PCI setup is skipped if the ATU is already setup.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-iop32x')
-rw-r--r-- | arch/arm/mach-iop32x/include/mach/io.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-iop32x/include/mach/io.h b/arch/arm/mach-iop32x/include/mach/io.h deleted file mode 100644 index e2ada265bb8d..000000000000 --- a/arch/arm/mach-iop32x/include/mach/io.h +++ /dev/null @@ -1,19 +0,0 @@ -/* - * arch/arm/mach-iop32x/include/mach/io.h - * - * Copyright (C) 2001 MontaVista Software, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#ifndef __IO_H -#define __IO_H - -#include <asm/hardware/iop3xx.h> - -#define IO_SPACE_LIMIT 0xffffffff -#define __io(p) ((void __iomem *)IOP3XX_PCI_IO_PHYS_TO_VIRT(p)) - -#endif |