diff options
-rw-r--r-- | arch/arm/mach-omap2/id.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/control.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 9e7c4aeeae02..e73f7e4ffdcf 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c | |||
@@ -57,6 +57,8 @@ int omap_type(void) | |||
57 | val = omap_ctrl_readl(OMAP24XX_CONTROL_STATUS); | 57 | val = omap_ctrl_readl(OMAP24XX_CONTROL_STATUS); |
58 | } else if (cpu_is_omap34xx()) { | 58 | } else if (cpu_is_omap34xx()) { |
59 | val = omap_ctrl_readl(OMAP343X_CONTROL_STATUS); | 59 | val = omap_ctrl_readl(OMAP343X_CONTROL_STATUS); |
60 | } else if (cpu_is_omap44xx()) { | ||
61 | val = omap_ctrl_readl(OMAP44XX_CONTROL_STATUS); | ||
60 | } else { | 62 | } else { |
61 | pr_err("Cannot detect omap type!\n"); | 63 | pr_err("Cannot detect omap type!\n"); |
62 | goto out; | 64 | goto out; |
diff --git a/arch/arm/plat-omap/include/plat/control.h b/arch/arm/plat-omap/include/plat/control.h index 207447399ad3..a56deee97676 100644 --- a/arch/arm/plat-omap/include/plat/control.h +++ b/arch/arm/plat-omap/include/plat/control.h | |||
@@ -204,6 +204,9 @@ | |||
204 | #define OMAP3_PADCONF_SAD2D_MSTANDBY 0x250 | 204 | #define OMAP3_PADCONF_SAD2D_MSTANDBY 0x250 |
205 | #define OMAP3_PADCONF_SAD2D_IDLEACK 0x254 | 205 | #define OMAP3_PADCONF_SAD2D_IDLEACK 0x254 |
206 | 206 | ||
207 | /* 44xx control status register offset */ | ||
208 | #define OMAP44XX_CONTROL_STATUS 0x2c4 | ||
209 | |||
207 | /* | 210 | /* |
208 | * REVISIT: This list of registers is not comprehensive - there are more | 211 | * REVISIT: This list of registers is not comprehensive - there are more |
209 | * that should be added. | 212 | * that should be added. |