aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/nanoengine.c
diff options
context:
space:
mode:
authorMarcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>2010-12-16 15:34:51 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-21 09:53:46 -0500
commitb080ac8ad47aeeb845d8d11924f09255cf49b5e9 (patch)
treef42dcdbbdf725b798a20137fd8af0c10ab8d07bc /arch/arm/mach-sa1100/nanoengine.c
parentfa87672ab30ce6564393778b8cbc67fc32712a30 (diff)
ARM: 6459/2: sa1100: Add nanoEngine PCI support.
This patch adds nanoEngine's PCI support. Signed-off-by: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/nanoengine.c')
-rw-r--r--arch/arm/mach-sa1100/nanoengine.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/arm/mach-sa1100/nanoengine.c b/arch/arm/mach-sa1100/nanoengine.c
index 844ec61415a7..72087f0658b7 100644
--- a/arch/arm/mach-sa1100/nanoengine.c
+++ b/arch/arm/mach-sa1100/nanoengine.c
@@ -26,6 +26,7 @@
26#include <asm/mach/serial_sa1100.h> 26#include <asm/mach/serial_sa1100.h>
27 27
28#include <mach/hardware.h> 28#include <mach/hardware.h>
29#include <mach/nanoengine.h>
29 30
30#include "generic.h" 31#include "generic.h"
31 32
@@ -75,10 +76,16 @@ static struct map_desc nanoengine_io_desc[] __initdata = {
75 .length = 0x00100000, 76 .length = 0x00100000,
76 .type = MT_DEVICE 77 .type = MT_DEVICE
77 }, { 78 }, {
79 /* Internal PCI Memory Read/Write */
80 .virtual = NANO_PCI_MEM_RW_VIRT,
81 .pfn = __phys_to_pfn(NANO_PCI_MEM_RW_PHYS),
82 .length = NANO_PCI_MEM_RW_SIZE,
83 .type = MT_DEVICE
84 }, {
78 /* Internal PCI Config Space */ 85 /* Internal PCI Config Space */
79 .virtual = 0xf1000000, 86 .virtual = NANO_PCI_CONFIG_SPACE_VIRT,
80 .pfn = __phys_to_pfn(0x18A00000), 87 .pfn = __phys_to_pfn(NANO_PCI_CONFIG_SPACE_PHYS),
81 .length = 0x00100000, 88 .length = NANO_PCI_CONFIG_SPACE_SIZE,
82 .type = MT_DEVICE 89 .type = MT_DEVICE
83 } 90 }
84}; 91};