summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/ivybridge
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-08-18 23:23:27 (GMT)
committerAlexander Graf <agraf@suse.de>2016-10-19 07:01:51 (GMT)
commit94eaa79cecf98300974c99d935ff653c9418de21 (patch)
tree1d74ec8d17be5db3f8b7b0842ee2c39cdd88b471 /arch/x86/cpu/ivybridge
parent6f192ddcbd8e13351a8f13365e7c714e7b61a79e (diff)
downloadu-boot-fsl-qoriq-94eaa79cecf98300974c99d935ff653c9418de21.tar.xz
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>
Diffstat (limited to 'arch/x86/cpu/ivybridge')
-rw-r--r--arch/x86/cpu/ivybridge/model_206ax.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/cpu/ivybridge/model_206ax.c b/arch/x86/cpu/ivybridge/model_206ax.c
index b074367..09b5342 100644
--- a/arch/x86/cpu/ivybridge/model_206ax.c
+++ b/arch/x86/cpu/ivybridge/model_206ax.c
@@ -477,6 +477,7 @@ static const struct cpu_ops cpu_x86_model_206ax_ops = {
.get_desc = cpu_x86_get_desc,
.get_info = model_206ax_get_info,
.get_count = model_206ax_get_count,
+ .get_vendor = cpu_x86_get_vendor,
};
static const struct udevice_id cpu_x86_model_206ax_ids[] = {