public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] misc patch on 24xx
@ 2006-01-06  7:35 Kyungmin Park
  2006-01-14  0:57 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Kyungmin Park @ 2006-01-06  7:35 UTC (permalink / raw)
  To: linux-omap-open-source

Hi

We need to display correct SRAM physical address.

Regards,
Kyungmin Park

 diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c
--- a/arch/arm/plat-omap/sram.c
+++ b/arch/arm/plat-omap/sram.c
@@ -147,7 +147,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);
 
 	/*

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] misc patch on 24xx
  2006-01-06  7:35 [PATCH] misc patch on 24xx Kyungmin Park
@ 2006-01-14  0:57 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2006-01-14  0:57 UTC (permalink / raw)
  To: Kyungmin Park; +Cc: linux-omap-open-source

* Kyungmin Park <kyungmin.park@samsung.com> [060105 23:37]:
> Hi
> 
> We need to display correct SRAM physical address.
> 
> Regards,
> Kyungmin Park
> 
>  diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c
> --- a/arch/arm/plat-omap/sram.c
> +++ b/arch/arm/plat-omap/sram.c
> @@ -147,7 +147,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);
>  
>  	/*

Thanks applied.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-14  0:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-06  7:35 [PATCH] misc patch on 24xx Kyungmin Park
2006-01-14  0:57 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox