diff options
author | Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br> | 2010-12-16 21:34:51 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-21 14:53:46 +0000 |
commit | b080ac8ad47aeeb845d8d11924f09255cf49b5e9 (patch) | |
tree | f42dcdbbdf725b798a20137fd8af0c10ab8d07bc /arch/arm/mach-sa1100/nanoengine.c | |
parent | fa87672ab30ce6564393778b8cbc67fc32712a30 (diff) | |
download | op-kernel-dev-b080ac8ad47aeeb845d8d11924f09255cf49b5e9.zip op-kernel-dev-b080ac8ad47aeeb845d8d11924f09255cf49b5e9.tar.gz |
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.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/arm/mach-sa1100/nanoengine.c b/arch/arm/mach-sa1100/nanoengine.c index 844ec61..72087f0 100644 --- a/arch/arm/mach-sa1100/nanoengine.c +++ b/arch/arm/mach-sa1100/nanoengine.c @@ -26,6 +26,7 @@ #include <asm/mach/serial_sa1100.h> #include <mach/hardware.h> +#include <mach/nanoengine.h> #include "generic.h" @@ -75,10 +76,16 @@ static struct map_desc nanoengine_io_desc[] __initdata = { .length = 0x00100000, .type = MT_DEVICE }, { + /* Internal PCI Memory Read/Write */ + .virtual = NANO_PCI_MEM_RW_VIRT, + .pfn = __phys_to_pfn(NANO_PCI_MEM_RW_PHYS), + .length = NANO_PCI_MEM_RW_SIZE, + .type = MT_DEVICE + }, { /* Internal PCI Config Space */ - .virtual = 0xf1000000, - .pfn = __phys_to_pfn(0x18A00000), - .length = 0x00100000, + .virtual = NANO_PCI_CONFIG_SPACE_VIRT, + .pfn = __phys_to_pfn(NANO_PCI_CONFIG_SPACE_PHYS), + .length = NANO_PCI_CONFIG_SPACE_SIZE, .type = MT_DEVICE } }; |