aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/io.c
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-01-08 17:23:05 -0500
committerPaul Walmsley <paul@pwsan.com>2010-01-08 17:23:05 -0500
commit7adb9987177f7aa269505ef65f4b4ed84bbc17b5 (patch)
treed79f27b527505c61a9b8bb9322d785e2bbd133a8 /arch/arm/mach-omap2/io.c
parent98bb155130aca96f26b12b50a38db806a0021e59 (diff)
OMAP2xxx IO mapping: mark DSP mappings as being 2420-only
Out of the three major OMAP2 chip types, OMAP2420, OMAP2430, and OMAP3430, we only map the IVA on OMAP2420. The memory mapping is not shared between OMAP2420 and OMAP2430, so it is inappropriate to label those macros as '24XX'; this patch changes them to '2420'. Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r--arch/arm/mach-omap2/io.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index ac9ea6007f27..5a7996402c53 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
@@ -72,21 +72,21 @@ static struct map_desc omap24xx_io_desc[] __initdata = {
72#ifdef CONFIG_ARCH_OMAP2420 72#ifdef CONFIG_ARCH_OMAP2420
73static struct map_desc omap242x_io_desc[] __initdata = { 73static struct map_desc omap242x_io_desc[] __initdata = {
74 { 74 {
75 .virtual = DSP_MEM_24XX_VIRT, 75 .virtual = DSP_MEM_2420_VIRT,
76 .pfn = __phys_to_pfn(DSP_MEM_24XX_PHYS), 76 .pfn = __phys_to_pfn(DSP_MEM_2420_PHYS),
77 .length = DSP_MEM_24XX_SIZE, 77 .length = DSP_MEM_2420_SIZE,
78 .type = MT_DEVICE 78 .type = MT_DEVICE
79 }, 79 },
80 { 80 {
81 .virtual = DSP_IPI_24XX_VIRT, 81 .virtual = DSP_IPI_2420_VIRT,
82 .pfn = __phys_to_pfn(DSP_IPI_24XX_PHYS), 82 .pfn = __phys_to_pfn(DSP_IPI_2420_PHYS),
83 .length = DSP_IPI_24XX_SIZE, 83 .length = DSP_IPI_2420_SIZE,
84 .type = MT_DEVICE 84 .type = MT_DEVICE
85 }, 85 },
86 { 86 {
87 .virtual = DSP_MMU_24XX_VIRT, 87 .virtual = DSP_MMU_2420_VIRT,
88 .pfn = __phys_to_pfn(DSP_MMU_24XX_PHYS), 88 .pfn = __phys_to_pfn(DSP_MMU_2420_PHYS),
89 .length = DSP_MMU_24XX_SIZE, 89 .length = DSP_MMU_2420_SIZE,
90 .type = MT_DEVICE 90 .type = MT_DEVICE
91 }, 91 },
92}; 92};