summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-01-12 11:42:43 -0600
committerKumar Gala <galak@kernel.crashing.org>2010-01-26 23:17:49 -0600
commit4194b3668a93eee18dd1f7eb1309ca7b05003aa7 (patch)
tree72e0ef1c6a8e895139f530b6c34888f37cf6a4eb /include/common.h
parent797312a15edc9dfb433e6903a75189030e7aaaaa (diff)
downloadbootable_bootloader_goldelico_gta04-4194b3668a93eee18dd1f7eb1309ca7b05003aa7.zip
bootable_bootloader_goldelico_gta04-4194b3668a93eee18dd1f7eb1309ca7b05003aa7.tar.gz
bootable_bootloader_goldelico_gta04-4194b3668a93eee18dd1f7eb1309ca7b05003aa7.tar.bz2
Add support to disable cpu's in multicore processors
Add a disable sub-command to the cpu command that allows for disabling cores in multicore processors. This can be useful for systems that are using multicore chips but aren't utilizing all the cores as a way to reduce power and possibly improve performance. Also updated an added missing copyright. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 391790a..81f2b59 100644
--- a/include/common.h
+++ b/include/common.h
@@ -712,6 +712,7 @@ void show_boot_progress(int val);
#ifdef CONFIG_MP
int cpu_status(int nr);
int cpu_reset(int nr);
+int cpu_disable(int nr);
int cpu_release(int nr, int argc, char *argv[]);
#endif