[U-Boot-Users] [PATCH] POWERPC: Change 86xx platforms to use CONFIG_NR_CPUS

Andy Fleming afleming at gmail.com
Tue Aug 5 14:03:12 CEST 2008


On Mon, Aug 4, 2008 at 9:02 PM, Becky Bruce <becky.bruce at freescale.com> wrote:
> Currently, they use CONFIG_NUM_CPUS, which is different than
> 85xx for no good reason.
>


> --- a/include/configs/MPC8610HPCD.h
> +++ b/include/configs/MPC8610HPCD.h
> @@ -17,7 +17,7 @@
>  #define CONFIG_MPC86xx         1       /* MPC86xx */
>  #define CONFIG_MPC8610         1       /* MPC8610 specific */
>  #define CONFIG_MPC8610HPCD     1       /* MPC8610HPCD board specific */
> -#define CONFIG_NUM_CPUS                1       /* Number of CPUs in the system */
> +#define CONFIG_NR_CPUS         2       /* Number of CPUs in the system */


Are you sure you wanted to change the number, too?  I think this is
used to support Cooperative Multi-processing?  If we want to do this,
we should probably document it in the commit message.

Andy




More information about the U-Boot mailing list