~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 80ebd1921d8ecd05ce07ef0cb3828f15793da6d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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,
};