Re: [U-Boot] [PATCH 4/9] x86: Move MP initialization codes into a common place

2015-06-13 Thread Bin Meng
Hi Simon, On Sat, Jun 13, 2015 at 3:10 AM, Simon Glass wrote: > Hi Bin, > > On 11 June 2015 at 20:07, Bin Meng wrote: >> Hi Simon, >> >> On Fri, Jun 12, 2015 at 7:39 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 9 June 2015 at 01:45, Bin Meng wrote: Most of the MP initialization codes in

Re: [U-Boot] [PATCH 4/9] x86: Move MP initialization codes into a common place

2015-06-12 Thread Simon Glass
Hi Bin, On 11 June 2015 at 20:07, Bin Meng wrote: > Hi Simon, > > On Fri, Jun 12, 2015 at 7:39 AM, Simon Glass wrote: >> Hi Bin, >> >> On 9 June 2015 at 01:45, Bin Meng wrote: >>> Most of the MP initialization codes in arch/x86/cpu/baytrail/cpu.c is >>> common to all x86 processors, except dete

Re: [U-Boot] [PATCH 4/9] x86: Move MP initialization codes into a common place

2015-06-11 Thread Bin Meng
Hi Simon, On Fri, Jun 12, 2015 at 7:39 AM, Simon Glass wrote: > Hi Bin, > > On 9 June 2015 at 01:45, Bin Meng wrote: >> Most of the MP initialization codes in arch/x86/cpu/baytrail/cpu.c is >> common to all x86 processors, except detect_num_cpus() which varies >> from cpu to cpu. Move these to a

Re: [U-Boot] [PATCH 4/9] x86: Move MP initialization codes into a common place

2015-06-11 Thread Simon Glass
Hi Bin, On 9 June 2015 at 01:45, Bin Meng wrote: > Most of the MP initialization codes in arch/x86/cpu/baytrail/cpu.c is > common to all x86 processors, except detect_num_cpus() which varies > from cpu to cpu. Move these to arch/x86/cpu/cpu.c and declare a weak > detect_num_cpus() which just retu

[U-Boot] [PATCH 4/9] x86: Move MP initialization codes into a common place

2015-06-09 Thread Bin Meng
Most of the MP initialization codes in arch/x86/cpu/baytrail/cpu.c is common to all x86 processors, except detect_num_cpus() which varies from cpu to cpu. Move these to arch/x86/cpu/cpu.c and declare a weak detect_num_cpus() which just returns 2 which is minimally required. Signed-off-by: Bin Meng