summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-10-19 07:48:16 -0400
committerTom Rini <trini@konsulko.com>2016-10-19 07:48:16 -0400
commit3431b392ad50ff37fa3d6e7715c6a99c74d692dc (patch)
tree53b6785acaa658a60c6a854af4dea9040f826b48 /drivers
parent68ff827ec74fdca8f17d469f22e1032ed14cb795 (diff)
parent3fb97e267a5e136d8386a7cb1d5b4fe63af518eb (diff)
downloadu-boot-imx-3431b392ad50ff37fa3d6e7715c6a99c74d692dc.zip
u-boot-imx-3431b392ad50ff37fa3d6e7715c6a99c74d692dc.tar.gz
u-boot-imx-3431b392ad50ff37fa3d6e7715c6a99c74d692dc.tar.bz2
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2016-10-19 Highlights this time around: - Add run time service (power control) support for PSCI (fixed in v3) - Add efi gop pointer exposure - SMBIOS support for EFI (on ARM) - efi pool memory unmap support (needed for 4.8) - initial x86 efi payload support (fixed up in v2) - various bug fixes Signed-off-by: Tom Rini <trini@konsulko.com> Conflicts: include/tables_csum.h
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpu/cpu-uclass.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/cpu/cpu-uclass.c b/drivers/cpu/cpu-uclass.c
index 7660f99..c57ac16 100644
--- a/drivers/cpu/cpu-uclass.c
+++ b/drivers/cpu/cpu-uclass.c
@@ -44,6 +44,16 @@ int cpu_get_count(struct udevice *dev)
return ops->get_count(dev);
}
+int cpu_get_vendor(struct udevice *dev, char *buf, int size)
+{
+ struct cpu_ops *ops = cpu_get_ops(dev);
+
+ if (!ops->get_vendor)
+ return -ENOSYS;
+
+ return ops->get_vendor(dev, buf, size);
+}
+
U_BOOT_DRIVER(cpu_bus) = {
.name = "cpu_bus",
.id = UCLASS_SIMPLE_BUS,