commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
25 lines
538 B
C
25 lines
538 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright 2020 Google LLC
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
*/
|
|
|
|
#include <common.h>
|
|
#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,
|
|
};
|