On Jan 12, 2010, at 1:16 PM, Peter Tyser wrote:
> Hi Kumar,
>
>
>
>> +#ifdef CONFIG_FSL_CORENET
>> int cpu_disable(int nr)
>> {
>> -/* dummy function so common/cmd_mp.c will build */
>> -return 1;
>> +volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
>> +
>> +s
Hi Kumar,
> +#ifdef CONFIG_FSL_CORENET
> int cpu_disable(int nr)
> {
> - /* dummy function so common/cmd_mp.c will build */
> - return 1;
> + volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
> +
> + setbits_be32(&gur->coredisrl, nr);
Doesn't this need to be
Support disabling of a core via user command 'cpu disable'.
Signed-off-by: Kumar Gala
---
cpu/mpc85xx/mp.c | 28 ++--
1 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/cpu/mpc85xx/mp.c b/cpu/mpc85xx/mp.c
index 6ae7f0a..73c7f87 100644
--- a/cpu/mpc85xx/mp.c
3 matches
Mail list logo