Simon Glass | 052a03e | 2020-11-05 06:32:11 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2020 Google LLC |
| 4 | * Written by Simon Glass <sjg@chromium.org> |
| 5 | */ |
| 6 | |
Simon Glass | 052a03e | 2020-11-05 06:32:11 -0700 | [diff] [blame] | 7 | #include <dm.h> |
| 8 | #include <sysinfo.h> |
| 9 | |
| 10 | static const struct udevice_id sysinfo_smbios_ids[] = { |
| 11 | { .compatible = "u-boot,sysinfo-smbios" }, |
| 12 | { /* sentinel */ } |
| 13 | }; |
| 14 | |
| 15 | static const struct sysinfo_ops sysinfo_smbios_ops = { |
| 16 | }; |
| 17 | |
| 18 | U_BOOT_DRIVER(sysinfo_smbios) = { |
| 19 | .name = "sysinfo_smbios", |
| 20 | .id = UCLASS_SYSINFO, |
| 21 | .of_match = sysinfo_smbios_ids, |
| 22 | .ops = &sysinfo_smbios_ops, |
| 23 | }; |