From 4f3b5804a369e28946f326c5f7967017e76bcae8 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Wed, 9 Nov 2005 17:47:44 -0800 Subject: [PATCH] ARM: OMAP: Make 24xx boot again Make 24xx boot again --- arch/arm/mach-omap2/io.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 99492c64d90..8ea67bf196a 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c @@ -29,8 +29,18 @@ extern void omap2_check_revision(void); * default mapping provided here. */ static struct map_desc omap2_io_desc[] __initdata = { - { L3_24XX_VIRT, L3_24XX_PHYS, L3_24XX_SIZE, MT_DEVICE }, - { L4_24XX_VIRT, L4_24XX_PHYS, L4_24XX_SIZE, MT_DEVICE }, + { + .virtual = L3_24XX_VIRT, + .pfn = __phys_to_pfn(L3_24XX_PHYS), + .length = L3_24XX_SIZE, + .type = MT_DEVICE + }, + { + .virtual = L4_24XX_VIRT, + .pfn = __phys_to_pfn(L4_24XX_PHYS), + .length = L4_24XX_SIZE, + .type = MT_DEVICE + } }; void __init omap_map_common_io(void) -- 2.41.1