Be conservative for now and only set it for V7 and newer versions.
BUG=chrome-os-partner:11403
TEST=build, boot, check boot time.
Change-Id: Ia4460efadf106c75608aac85a1f90d773af46cf2
Signed-off-by: Olof Johansson <olofj@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/29435
Reviewed-by: Sameer Nanda <snanda@chromium.org>
* efficient idling at a higher frequency/voltage is.
* Pavel Machek says this is not so for various generations of AMD and old
* Intel systems.
- * Mike Chan (androidlcom) calis this is also not true for ARM.
+ * ARM systems v7 and later generally good idle power management as well, so
+ * treat them the same.
* Because of this, whitelist specific known (series) of CPUs by default, and
* leave all others up to the user.
*/
boot_cpu_data.x86 == 6 &&
boot_cpu_data.x86_model >= 15)
return 1;
+#endif
+#if defined(CONFIG_ARM) && defined(CPU_V7)
+ return 1;
#endif
return 0;
}