xref: /aosp_15_r20/external/coreboot/src/ec/hp/kbc1126/ecfw_ptr.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _EC_HP_KBC1126_PTR_H
4 #define _EC_HP_KBC1126_PTR_H
5 
6 #include <stdint.h>
7 
8 struct __packed ecfw_addr {
9 	/* 8-byte offset of firmware blob in big endian */
10 	uint16_t off;
11 	/* bitwise inverse of "off", for error checking */
12 	uint16_t inv;
13 };
14 
15 struct __packed ecfw_ptr {
16 	struct ecfw_addr fw1;
17 	struct ecfw_addr fw2;
18 };
19 
20 #endif
21