2021-03-20 14:06:11 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
|
|
|
|
#ifndef _EC_HP_KBC1126_PTR_H
|
|
|
|
#define _EC_HP_KBC1126_PTR_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2023-09-09 08:00:59 +02:00
|
|
|
struct __packed ecfw_addr {
|
2021-03-20 14:06:11 +01:00
|
|
|
/* 8-byte offset of firmware blob in big endian */
|
|
|
|
uint16_t off;
|
|
|
|
/* bitwise inverse of "off", for error checking */
|
|
|
|
uint16_t inv;
|
|
|
|
};
|
|
|
|
|
2023-09-09 08:00:59 +02:00
|
|
|
struct __packed ecfw_ptr {
|
2021-03-20 14:06:11 +01:00
|
|
|
struct ecfw_addr fw1;
|
|
|
|
struct ecfw_addr fw2;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|