diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-08-11 11:29:28 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-12 00:09:29 +0200 |
commit | 902ca09246039964d59bbcb519b1e1b5aed01308 (patch) | |
tree | e1ad54fd61ada7cac84118efa6d52711b8e0b7d4 /cpu/mpc85xx | |
parent | 3216ca9692ff80d7c638723ef448f3d36301d9e7 (diff) | |
download | u-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 'cpu/mpc85xx')
-rw-r--r-- | cpu/mpc85xx/mp.c | 4 | ||||
-rw-r--r-- | cpu/mpc85xx/release.S | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cpu/mpc85xx/mp.c b/cpu/mpc85xx/mp.c index 554830f..4e09c9c 100644 --- a/cpu/mpc85xx/mp.c +++ b/cpu/mpc85xx/mp.c @@ -147,7 +147,7 @@ static void pq3_mp_up(unsigned long bootpg) out_be32(&gur->devdisr, devdisr); /* release the hounds */ - up = ((1 << CONFIG_NR_CPUS) - 1); + up = ((1 << CONFIG_NUM_CPUS) - 1); bpcr = in_be32(&ecm->eebpcr); bpcr |= (up << 24); out_be32(&ecm->eebpcr, bpcr); @@ -157,7 +157,7 @@ static void pq3_mp_up(unsigned long bootpg) /* wait for everyone */ while (timeout) { int i; - for (i = 0; i < CONFIG_NR_CPUS; i++) { + for (i = 0; i < CONFIG_NUM_CPUS; i++) { if (table[i * NUM_BOOT_ENTRY + BOOT_ENTRY_ADDR_LOWER]) cpu_up_mask |= (1 << i); }; diff --git a/cpu/mpc85xx/release.S b/cpu/mpc85xx/release.S index a47edae..75676b5 100644 --- a/cpu/mpc85xx/release.S +++ b/cpu/mpc85xx/release.S @@ -173,7 +173,7 @@ __secondary_start_page: .align L1_CACHE_SHIFT .globl __spin_table __spin_table: - .space CONFIG_NR_CPUS*ENTRY_SIZE + .space CONFIG_NUM_CPUS*ENTRY_SIZE /* Fill in the empty space. The actual reset vector is * the last word of the page */ |