]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: cpu: Add functions to return the family and stepping
authorSimon Glass <sjg@chromium.org>
Sat, 12 Mar 2016 05:06:52 +0000 (22:06 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:24 +0000 (10:27 +0800)
commit342727ace6fd3dd5c96bb9342eabe96614ed208a
tree6d82aab5f0ea75271d458080075881d31efd6e70
parente4d6ab0c2cb8456f80d0ee4e123a34029d5a5c41
x86: cpu: Add functions to return the family and stepping

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>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/cpu.c
arch/x86/include/asm/cpu.h