diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-01-17 22:48:33 (GMT) |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-03-26 16:43:03 (GMT) |
commit | ec2b74ffd36f02c6123725e7c2533dd2deaf4b64 (patch) | |
tree | 0eddb24adce38d018c7d03a6ffa462dd6ddb77e7 /include/common.h | |
parent | f69766e4b5d47ecd3aa58677a8da875694f364f2 (diff) | |
download | u-boot-ec2b74ffd36f02c6123725e7c2533dd2deaf4b64.tar.xz |
85xx: Added support for multicore boot mechanism
Added the cpu command that provides a generic mechanism to get status,
reset, and release secondary cores in multicore processors.
Added support for using the ePAPR defined spin-table mechanism on 85xx.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index e03ead1..f496073 100644 --- a/include/common.h +++ b/include/common.h @@ -669,4 +669,11 @@ void inline show_boot_progress (int val); #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) +/* Multicore arch functions */ +#ifdef CONFIG_MP +int cpu_status(int nr); +int cpu_reset(int nr); +int cpu_release(int nr, unsigned long boot_addr, int argc, char *argv[]); +#endif + #endif /* __COMMON_H_ */ |