diff options
author | Afzal Mohammed <afzal@ti.com> | 2013-05-27 20:06:33 +0530 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-06-12 08:07:23 -0700 |
commit | 49cc485d815f2a31ba5635d3f2b10c73458ad014 (patch) | |
tree | a457e89385f4b0653e50252f2f62827acedd0e0c /arch/arm/mach-omap2 | |
parent | c5107027b12181a1fc7a9b656f15300ea12d26aa (diff) | |
download | op-kernel-dev-49cc485d815f2a31ba5635d3f2b10c73458ad014.zip op-kernel-dev-49cc485d815f2a31ba5635d3f2b10c73458ad014.tar.gz |
ARM: OMAP2+: AM43x: GP or HS ?
Detect whether GP or HS, similar to the AM335x way.
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 1fbb3c5..74f71ab 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c @@ -55,7 +55,7 @@ int omap_type(void) if (cpu_is_omap24xx()) { val = omap_ctrl_readl(OMAP24XX_CONTROL_STATUS); - } else if (soc_is_am33xx()) { + } else if (soc_is_am33xx() || soc_is_am43xx()) { val = omap_ctrl_readl(AM33XX_CONTROL_STATUS); } else if (cpu_is_omap34xx()) { val = omap_ctrl_readl(OMAP343X_CONTROL_STATUS); |