summaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/embedded-firmware.h
blob: 34113316d068a72867db19b4b686dcd4b7cf8ca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _EFI_EMBEDDED_FW_INTERNAL_H_
#define _EFI_EMBEDDED_FW_INTERNAL_H_

/*
 * This struct and efi_embedded_fw_list are private to the efi-embedded fw
 * implementation they only in separate header for use by lib/test_firmware.c.
 */
struct efi_embedded_fw {
	struct list_head list;
	const char *name;
	const u8 *data;
	size_t length;
};

extern struct list_head efi_embedded_fw_list;
extern bool efi_embedded_fw_checked;

#endif /* _EFI_EMBEDDED_FW_INTERNAL_H_ */