summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/id.c
diff options
context:
space:
mode:
authorTony Lindgren2012-06-04 11:09:45 +0200
committerTony Lindgren2012-06-04 11:09:45 +0200
commit4564747649db987722aa781280eb8325c6a5a1a8 (patch)
treec75bd92f4c6a59e9873088f1e5357cd3242977cd /arch/arm/mach-omap2/id.c
parentLinux 3.5-rc1 (diff)
parentarm: omap3: am35x: Don't mark missing features as present (diff)
downloadkernel-qcow2-linux-4564747649db987722aa781280eb8325c6a5a1a8.tar.gz
kernel-qcow2-linux-4564747649db987722aa781280eb8325c6a5a1a8.tar.xz
kernel-qcow2-linux-4564747649db987722aa781280eb8325c6a5a1a8.zip
Merge branch 'for_3.5/fixes/pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into fixes
Diffstat (limited to 'arch/arm/mach-omap2/id.c')
-rw-r--r--arch/arm/mach-omap2/id.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 0389b3264abe..00486a8564fd 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -247,6 +247,17 @@ void __init omap3xxx_check_features(void)
omap_features |= OMAP3_HAS_SDRC;
/*
+ * am35x fixups:
+ * - The am35x Chip ID register has bits 12, 7:5, and 3:2 marked as
+ * reserved and therefore return 0 when read. Unfortunately,
+ * OMAP3_CHECK_FEATURE() will interpret some of those zeroes to
+ * mean that a feature is present even though it isn't so clear
+ * the incorrectly set feature bits.
+ */
+ if (soc_is_am35xx())
+ omap_features &= ~(OMAP3_HAS_IVA | OMAP3_HAS_ISP);
+
+ /*
* TODO: Get additional info (where applicable)
* e.g. Size of L2 cache.
*/