public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix PRCM_SYSCONFIG & PRCM_REVISION addresses for 24XX
       [not found] <20070530040223.689051525@pwsan.com>
@ 2007-05-30  4:02 ` Paul Walmsley
  2007-06-05 10:28   ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Walmsley @ 2007-05-30  4:02 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: fix-prcm-sysconfig-revision-offsets.patch --]
[-- Type: text/plain, Size: 985 bytes --]

Fix OMAP24XX_PRCM_REVISION and OMAP24XX_PRCM_SYSCONFIG addresses,
which were incorrectly using 3430 PRM_{REVISION,SYSCONFIG} addresses.
Bug found by Richard Woodruff <r-woodruff2@ti.com>.


Signed-off-by: Paul Walmsley <paul@pwsan.com>

- Paul

---
 arch/arm/mach-omap2/prm.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-omap/arch/arm/mach-omap2/prm.h
===================================================================
--- linux-omap.orig/arch/arm/mach-omap2/prm.h
+++ linux-omap/arch/arm/mach-omap2/prm.h
@@ -31,8 +31,8 @@
  *
  */
 
-#define OMAP24XX_PRCM_REVISION		OMAP_PRM_REGADDR(OCP_MOD, 0x0004)
-#define OMAP24XX_PRCM_SYSCONFIG		OMAP_PRM_REGADDR(OCP_MOD, 0x0014)
+#define OMAP24XX_PRCM_REVISION		OMAP_PRM_REGADDR(OCP_MOD, 0x0000)
+#define OMAP24XX_PRCM_SYSCONFIG		OMAP_PRM_REGADDR(OCP_MOD, 0x0010)
 
 #define OMAP24XX_PRCM_IRQSTATUS_MPU	OMAP_PRM_REGADDR(OCP_MOD, 0x0018)
 #define OMAP24XX_PRCM_IRQENABLE_MPU	OMAP_PRM_REGADDR(OCP_MOD, 0x001c)

-- 

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

* Re: [PATCH] Fix PRCM_SYSCONFIG & PRCM_REVISION addresses for 24XX
  2007-05-30  4:02 ` [PATCH] Fix PRCM_SYSCONFIG & PRCM_REVISION addresses for 24XX Paul Walmsley
@ 2007-06-05 10:28   ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-06-05 10:28 UTC (permalink / raw)
  To: Paul Walmsley; +Cc: linux-omap-open-source

* Paul Walmsley <paul@pwsan.com> [070529 21:04]:
> Fix OMAP24XX_PRCM_REVISION and OMAP24XX_PRCM_SYSCONFIG addresses,
> which were incorrectly using 3430 PRM_{REVISION,SYSCONFIG} addresses.
> Bug found by Richard Woodruff <r-woodruff2@ti.com>.
> 
> 
> Signed-off-by: Paul Walmsley <paul@pwsan.com>
> 
> - Paul
> 
> ---
>  arch/arm/mach-omap2/prm.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Index: linux-omap/arch/arm/mach-omap2/prm.h
> ===================================================================
> --- linux-omap.orig/arch/arm/mach-omap2/prm.h
> +++ linux-omap/arch/arm/mach-omap2/prm.h
> @@ -31,8 +31,8 @@
>   *
>   */
>  
> -#define OMAP24XX_PRCM_REVISION		OMAP_PRM_REGADDR(OCP_MOD, 0x0004)
> -#define OMAP24XX_PRCM_SYSCONFIG		OMAP_PRM_REGADDR(OCP_MOD, 0x0014)
> +#define OMAP24XX_PRCM_REVISION		OMAP_PRM_REGADDR(OCP_MOD, 0x0000)
> +#define OMAP24XX_PRCM_SYSCONFIG		OMAP_PRM_REGADDR(OCP_MOD, 0x0010)
>  
>  #define OMAP24XX_PRCM_IRQSTATUS_MPU	OMAP_PRM_REGADDR(OCP_MOD, 0x0018)
>  #define OMAP24XX_PRCM_IRQENABLE_MPU	OMAP_PRM_REGADDR(OCP_MOD, 0x001c)

Pushing today.

Tony

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

end of thread, other threads:[~2007-06-05 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070530040223.689051525@pwsan.com>
2007-05-30  4:02 ` [PATCH] Fix PRCM_SYSCONFIG & PRCM_REVISION addresses for 24XX Paul Walmsley
2007-06-05 10:28   ` Tony Lindgren

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