[U-Boot] [PATCH v2 07/51] x86: cpu: Add functions to return the family and stepping
Bin Meng
bmeng.cn at gmail.com
Mon Mar 14 05:20:09 CET 2016
On Sat, Mar 12, 2016 at 1:06 PM, Simon Glass <sjg at 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 at 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 at gmail.com>
More information about the U-Boot
mailing list