From 9a32848629d0518f5fd00e65ddf01cdb147a89fc Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Fri, 13 Jan 2006 16:56:56 -0800 Subject: [PATCH] [PATCH] ARM: OMAP: misc patch on 24xx We need to display correct SRAM physical address. --- arch/arm/plat-omap/sram.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index 26db74b6683..b8368b5c73f 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c @@ -149,7 +149,8 @@ void __init omap_map_sram(void) iotable_init(omap_sram_io_desc, ARRAY_SIZE(omap_sram_io_desc)); printk(KERN_INFO "SRAM: Mapped pa 0x%08lx to va 0x%08lx size: 0x%lx\n", - omap_sram_io_desc[0].pfn, omap_sram_io_desc[0].virtual, + __pfn_to_phys(omap_sram_io_desc[0].pfn), + omap_sram_io_desc[0].virtual, omap_sram_io_desc[0].length); /* -- 2.41.1