Re: [U-Boot] [PATCH v4 3/6] x86: Move MP initialization codes into a common place

2015-06-23 Thread Simon Glass
On 16 June 2015 at 21:15, 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 implement the > new 'get_count' method for baytrail and cp

[U-Boot] [PATCH v4 3/6] x86: Move MP initialization codes into a common place

2015-06-16 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 implement the new 'get_count' method for baytrail and cpu_x86 drivers. Now we call cpu_get_count() in mp_in