Re: [PATCH] Fix PRCM_SYSCONFIG & PRCM_REVISION addresses for 24XX

Tony Lindgren
2007-06-05T10:28:10Z

* 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