mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 22:14:54 +00:00

As part of bringing the master branch back in to next, we need to allow for all of these changes to exist here. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
23 lines
518 B
C
23 lines
518 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright 2020 Google LLC
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
*/
|
|
|
|
#include <dm.h>
|
|
#include <sysinfo.h>
|
|
|
|
static const struct udevice_id sysinfo_smbios_ids[] = {
|
|
{ .compatible = "u-boot,sysinfo-smbios" },
|
|
{ /* sentinel */ }
|
|
};
|
|
|
|
static const struct sysinfo_ops sysinfo_smbios_ops = {
|
|
};
|
|
|
|
U_BOOT_DRIVER(sysinfo_smbios) = {
|
|
.name = "sysinfo_smbios",
|
|
.id = UCLASS_SYSINFO,
|
|
.of_match = sysinfo_smbios_ids,
|
|
.ops = &sysinfo_smbios_ops,
|
|
};
|