summaryrefslogtreecommitdiff
path: root/src/drivers/vpd/vpd_premem.c
blob: 641bf898dfda3f9c8ae859d747f75a85e539530d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0-only */

#include <string.h>

#include "vpd.h"

void vpd_get_buffers(struct vpd_blob *blob)
{
	const struct vpd_blob *b;

	b = vpd_load_blob();
	memcpy(blob, b, sizeof(*b));
}