
14 Mar
2016
14 Mar
'16
5:20 a.m.
On Sat, Mar 12, 2016 at 1:06 PM, Simon Glass sjg@chromium.org 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 sjg@chromium.org
Changes in v2:
- Use gd->arch.x86_mask to get the stepping value
arch/x86/cpu/cpu.c | 10 ++++++++++ arch/x86/include/asm/cpu.h | 14 ++++++++++++++ 2 files changed, 24 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com