summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop33x
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-07-04 11:18:40 -0500
committerRob Herring <rob.herring@calxeda.com>2012-07-26 09:10:04 -0500
commitdd9bf78040fa0da4cecc228e1682b9682b8cb180 (patch)
tree9cf716530a0549fdac85b7b7b68badce122ce313 /arch/arm/mach-iop33x
parent0b9b18e0166d8925ed222335efbc3cfd66aa882f (diff)
downloadblackbird-op-linux-dd9bf78040fa0da4cecc228e1682b9682b8cb180.tar.gz
blackbird-op-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-iop33x')
-rw-r--r--arch/arm/mach-iop33x/include/mach/io.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-iop33x/include/mach/io.h b/arch/arm/mach-iop33x/include/mach/io.h
deleted file mode 100644
index f7c1b6595660..000000000000
--- a/arch/arm/mach-iop33x/include/mach/io.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * arch/arm/mach-iop33x/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
OpenPOWER on IntegriCloud