Re: [U-Boot] [PATCH v2 07/51] x86: cpu: Add functions to return the family and stepping

2016-03-13 Thread Bin Meng
On Mon, Mar 14, 2016 at 12:20 PM, Bin Meng wrote: > On Sat, Mar 12, 2016 at 1:06 PM, Simon Glass wrote: >> These two identifiers can be useful for drivers which need to adjust their >> behaviour depending on the CPU family or stepping (revision). >> >>

Re: [U-Boot] [PATCH v2 07/51] x86: cpu: Add functions to return the family and stepping

2016-03-13 Thread Bin Meng
On Sat, Mar 12, 2016 at 1:06 PM, Simon Glass wrote: > These two identifiers can be useful for drivers which need to adjust their > behaviour depending on the CPU family or stepping (revision). > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Use

[U-Boot] [PATCH v2 07/51] x86: cpu: Add functions to return the family and stepping

2016-03-11 Thread Simon Glass
These two identifiers can be useful for drivers which need to adjust their behaviour depending on the CPU family or stepping (revision). Signed-off-by: Simon Glass --- Changes in v2: - Use gd->arch.x86_mask to get the stepping value arch/x86/cpu/cpu.c | 10