From: Afzal Mohammed Date: Mon, 27 May 2013 14:36:33 +0000 (+0530) Subject: ARM: OMAP2+: AM43x: GP or HS ? X-Git-Tag: v3.11-rc1~153^2~35^2~1 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=49cc485d815f2a31ba5635d3f2b10c73458ad014;p=linux.git ARM: OMAP2+: AM43x: GP or HS ? Detect whether GP or HS, similar to the AM335x way. Signed-off-by: Afzal Mohammed Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 1fbb3c550a3c..74f71abcd50e 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);