summaryrefslogtreecommitdiff
path: root/src/drivers/vpd/vpd_premem.c
blob: e5e9db9685900c9ae817a89cb4ac3d2b98b2c16d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#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));
}