From: Peter Tyser <ptyser@xes-inc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] 85xx: Add support for 'cpu disable' command
Date: Tue, 12 Jan 2010 13:16:30 -0600 [thread overview]
Message-ID: <1263323790.29396.7792.camel@localhost.localdomain> (raw)
In-Reply-To: <1263323010-30799-3-git-send-email-galak@kernel.crashing.org>
Hi Kumar,
<snip>
> +#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 "1 << nr"?
Peter
next prev parent reply other threads:[~2010-01-12 19:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-12 19:03 [U-Boot] [PATCH 1/3] Add support to disable cpu's in multicore processors Kumar Gala
2010-01-12 19:03 ` [U-Boot] [PATCH 2/3] 86xx: Add support for 'cpu disable' command Kumar Gala
2010-01-12 19:03 ` [U-Boot] [PATCH 3/3] 85xx: " Kumar Gala
2010-01-12 19:16 ` Peter Tyser [this message]
2010-01-12 19:36 ` Kumar Gala
2010-01-19 19:19 ` [U-Boot] [PATCH 1/3] Add support to disable cpu's in multicore processors Kumar Gala
2010-01-25 21:25 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1263323790.29396.7792.camel@localhost.localdomain \
--to=ptyser@xes-inc.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox