• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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