summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-11 11:29:28 -0500
committerWolfgang Denk <wd@denx.de>2008-08-12 00:09:29 +0200
commit902ca09246039964d59bbcb519b1e1b5aed01308 (patch)
treee1ad54fd61ada7cac84118efa6d52711b8e0b7d4 /common
parent3216ca9692ff80d7c638723ef448f3d36301d9e7 (diff)
downloadu-boot-imx-902ca09246039964d59bbcb519b1e1b5aed01308.zip
u-boot-imx-902ca09246039964d59bbcb519b1e1b5aed01308.tar.gz
u-boot-imx-902ca09246039964d59bbcb519b1e1b5aed01308.tar.bz2
85xx: Rename CONFIG_NR_CPUS to CONFIG_NUM_CPUS
Use CONFIG_NUM_CPUS to match existing define used by 86xx. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_mp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_mp.c b/common/cmd_mp.c
index b2a397c..c8444fb 100644
--- a/common/cmd_mp.c
+++ b/common/cmd_mp.c
@@ -34,9 +34,9 @@ cpu_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
}
cpuid = simple_strtoul(argv[1], NULL, 10);
- if (cpuid >= CONFIG_NR_CPUS) {
+ if (cpuid >= CONFIG_NUM_CPUS) {
printf ("Core num: %lu is out of range[0..%d]\n",
- cpuid, CONFIG_NR_CPUS - 1);
+ cpuid, CONFIG_NUM_CPUS - 1);
return 1;
}