[PATCH] Fix PRCM_SYSCONFIG & PRCM_REVISION addresses for 24XX

Paul Walmsley
2007-05-30T04:02:24Z

[-- 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)

--