summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop13xx/include/mach/io.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-07-13 19:37:01 -0500
committerRob Herring <rob.herring@calxeda.com>2012-07-26 09:10:02 -0500
commite7adf1e0a5ed7d15a9ed8679a59156118f4a63c4 (patch)
treeacf1785ca48047b412e1254ad1908fa9fa992668 /arch/arm/mach-iop13xx/include/mach/io.h
parent5b334eb2a9422f4658f353a550db10b8a6b691f9 (diff)
downloadtalos-obmc-linux-e7adf1e0a5ed7d15a9ed8679a59156118f4a63c4.tar.gz
talos-obmc-linux-e7adf1e0a5ed7d15a9ed8679a59156118f4a63c4.zip
ARM: iop13xx: use fixed PCI i/o mapping
Move iop13xx PCI to fixed i/o mapping and remove io.h. This changes the PCIe bus address to start at 0x10000. Let's hope this works. If it does not, the alternative would be to revert the value we write into OIOTVR to zero and set sys->io_offset to 64K. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-iop13xx/include/mach/io.h')
-rw-r--r--arch/arm/mach-iop13xx/include/mach/io.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/arm/mach-iop13xx/include/mach/io.h b/arch/arm/mach-iop13xx/include/mach/io.h
deleted file mode 100644
index e197cb8994ac..000000000000
--- a/arch/arm/mach-iop13xx/include/mach/io.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * iop13xx custom ioremap implementation
- * Copyright (c) 2005-2006, Intel Corporation.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place - Suite 330, Boston, MA 02111-1307 USA.
- *
- */
-#ifndef __ASM_ARM_ARCH_IO_H
-#define __ASM_ARM_ARCH_IO_H
-
-#include <mach/iop13xx.h>
-
-#define IO_SPACE_LIMIT (IOP13XX_PCIE_IO_WINDOW_SIZE + IOP13XX_PCIX_IO_WINDOW_SIZE - 1)
-
-#define __io(a) (IOP13XX_PCIX_LOWER_IO_VA + ((a) & IO_SPACE_LIMIT))
-
-#endif
OpenPOWER on IntegriCloud