diff options
| author | Poonam Aggrwal <poonam.aggrwal@freescale.com> | 2009-07-31 12:08:14 +0530 | 
|---|---|---|
| committer | Kumar Gala <galak@kernel.crashing.org> | 2009-08-28 17:12:38 -0500 | 
| commit | 0e870980a64584a591af775bb9c9fe9450124df9 (patch) | |
| tree | 627bfb5272eb2508ff8ed9027e00d86897af7fee /include/asm-ppc/processor.h | |
| parent | 18bacc2027f8531d8dec15ba8da3242dfb4e63f3 (diff) | |
| download | olio-uboot-2014.01-0e870980a64584a591af775bb9c9fe9450124df9.tar.xz olio-uboot-2014.01-0e870980a64584a591af775bb9c9fe9450124df9.zip | |
8xxx: Removed CONFIG_NUM_CPUS from 85xx/86xx
The number of CPUs are getting detected dynamically by checking the
processor SVR value.  Also removed CONFIG_NUM_CPUS references from all
the platforms with 85xx/86xx processors.
This can help to use the same u-boot image across the platforms.
Also revamped and corrected few Freescale Copyright messages.
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/processor.h')
| -rw-r--r-- | include/asm-ppc/processor.h | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h index 284110451..a079b2d4c 100644 --- a/include/asm-ppc/processor.h +++ b/include/asm-ppc/processor.h @@ -1065,13 +1065,14 @@ n:  struct cpu_type {  	char name[15];  	u32 soc_ver; +	u32 num_cores;  };  struct cpu_type *identify_cpu(u32 ver);  #if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) -#define CPU_TYPE_ENTRY(n, v) \ -	{ .name = #n, .soc_ver = SVR_##v, } +#define CPU_TYPE_ENTRY(n, v, nc) \ +	{ .name = #n, .soc_ver = SVR_##v, .num_cores = (nc), }  #else  #if defined(CONFIG_MPC83xx)  #define CPU_TYPE_ENTRY(x) {#x, SPR_##x} |