summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/io.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-01-21 17:04:07 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:36:55 -0800
commit9e1a807ebb156507c30a835e4a54ba975f980260 (patch)
tree85ad19b0bb0b9c73aa3af79f0e18764179c276e7 /arch/arm/mach-tegra/io.c
parentb6adf61f3bc65253c6215e4f74a3f92ac826554b (diff)
ARM: tegra: Statically map all device io memory
Change-Id: I0c750b766dcdd166ddff6317b93556f9f5cce899 Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/io.c')
-rw-r--r--arch/arm/mach-tegra/io.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/io.c b/arch/arm/mach-tegra/io.c
index ea50fe28cf6a..87125e2a4532 100644
--- a/arch/arm/mach-tegra/io.c
+++ b/arch/arm/mach-tegra/io.c
@@ -54,6 +54,24 @@ static struct map_desc tegra_io_desc[] __initdata = {
.length = IO_IRAM_SIZE,
.type = MT_DEVICE,
},
+ {
+ .virtual = IO_HOST1X_VIRT,
+ .pfn = __phys_to_pfn(IO_HOST1X_PHYS),
+ .length = IO_HOST1X_SIZE,
+ .type = MT_DEVICE,
+ },
+ {
+ .virtual = IO_USB_VIRT,
+ .pfn = __phys_to_pfn(IO_USB_PHYS),
+ .length = IO_USB_SIZE,
+ .type = MT_DEVICE,
+ },
+ {
+ .virtual = IO_SDMMC_VIRT,
+ .pfn = __phys_to_pfn(IO_SDMMC_PHYS),
+ .length = IO_SDMMC_SIZE,
+ .type = MT_DEVICE,
+ },
};
void __init tegra_map_common_io(void)