diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-10-08 13:40:17 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-10-08 13:40:17 -0400 |
commit | 54164bb2927edd9f183a108a0d037d80639c8429 (patch) | |
tree | 5b3097aa69effb51badb1612564443c40a101fe3 /arch/arm/plat-omap | |
parent | 6515e48932c8bf04227f9dd638c8ac634f89ba24 (diff) |
OMAP2420: CTRL: fix OMAP242X_CTRL_REGADDR macro
Conform the OMAP2420_CTRL_BASE macro name to the standard of the rest of the
OMAP*_CTRL_BASE macro names. This fixes a bug in the OMAP2420 SCM code that
prevented OMAP242X_CTRL_REGADDR from working.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/common.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap24xx.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/common.c b/arch/arm/plat-omap/common.c index 947de3fb93f3..cbaf14bbe197 100644 --- a/arch/arm/plat-omap/common.c +++ b/arch/arm/plat-omap/common.c | |||
@@ -268,7 +268,7 @@ static struct omap_globals omap242x_globals = { | |||
268 | .tap = OMAP2_L4_IO_ADDRESS(0x48014000), | 268 | .tap = OMAP2_L4_IO_ADDRESS(0x48014000), |
269 | .sdrc = OMAP2420_SDRC_BASE, | 269 | .sdrc = OMAP2420_SDRC_BASE, |
270 | .sms = OMAP2420_SMS_BASE, | 270 | .sms = OMAP2420_SMS_BASE, |
271 | .ctrl = OMAP2420_CTRL_BASE, | 271 | .ctrl = OMAP242X_CTRL_BASE, |
272 | .prm = OMAP2420_PRM_BASE, | 272 | .prm = OMAP2420_PRM_BASE, |
273 | .cm = OMAP2420_CM_BASE, | 273 | .cm = OMAP2420_CM_BASE, |
274 | }; | 274 | }; |
diff --git a/arch/arm/plat-omap/include/plat/omap24xx.h b/arch/arm/plat-omap/include/plat/omap24xx.h index 7055672a8c68..92df9e27cc5c 100644 --- a/arch/arm/plat-omap/include/plat/omap24xx.h +++ b/arch/arm/plat-omap/include/plat/omap24xx.h | |||
@@ -40,7 +40,7 @@ | |||
40 | #define OMAP24XX_IC_BASE (L4_24XX_BASE + 0xfe000) | 40 | #define OMAP24XX_IC_BASE (L4_24XX_BASE + 0xfe000) |
41 | #define OMAP24XX_IVA_INTC_BASE 0x40000000 | 41 | #define OMAP24XX_IVA_INTC_BASE 0x40000000 |
42 | 42 | ||
43 | #define OMAP2420_CTRL_BASE L4_24XX_BASE | 43 | #define OMAP242X_CTRL_BASE L4_24XX_BASE |
44 | #define OMAP2420_32KSYNCT_BASE (L4_24XX_BASE + 0x4000) | 44 | #define OMAP2420_32KSYNCT_BASE (L4_24XX_BASE + 0x4000) |
45 | #define OMAP2420_PRCM_BASE (L4_24XX_BASE + 0x8000) | 45 | #define OMAP2420_PRCM_BASE (L4_24XX_BASE + 0x8000) |
46 | #define OMAP2420_CM_BASE (L4_24XX_BASE + 0x8000) | 46 | #define OMAP2420_CM_BASE (L4_24XX_BASE + 0x8000) |