]> git.sur5r.net Git - u-boot/commit
cpu: Add get_vendor callback
authorAlexander Graf <agraf@suse.de>
Thu, 18 Aug 2016 23:23:27 +0000 (01:23 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 19 Oct 2016 07:01:51 +0000 (09:01 +0200)
commit94eaa79cecf98300974c99d935ff653c9418de21
tree1d74ec8d17be5db3f8b7b0842ee2c39cdd88b471
parent6f192ddcbd8e13351a8f13365e7c714e7b61a79e
cpu: Add get_vendor callback

The CPU udevice already has a few callbacks to retreive information
about the currently running CPUs. This patch adds a new get_vendor()
call that returns the vendor of the main CPUs.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/baytrail/cpu.c
arch/x86/cpu/broadwell/cpu.c
arch/x86/cpu/cpu_x86.c
arch/x86/cpu/ivybridge/model_206ax.c
arch/x86/include/asm/cpu_x86.h
drivers/cpu/cpu-uclass.c
include/cpu.h