c0b35ccb51
Change-Id: Ia4b142a5eac2aab7e4fa6e32ed68c96934ec6c32 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77731 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
20 lines
375 B
C
20 lines
375 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#ifndef _EC_HP_KBC1126_PTR_H
|
|
#define _EC_HP_KBC1126_PTR_H
|
|
|
|
#include <stdint.h>
|
|
|
|
struct __packed ecfw_addr {
|
|
/* 8-byte offset of firmware blob in big endian */
|
|
uint16_t off;
|
|
/* bitwise inverse of "off", for error checking */
|
|
uint16_t inv;
|
|
};
|
|
|
|
struct __packed ecfw_ptr {
|
|
struct ecfw_addr fw1;
|
|
struct ecfw_addr fw2;
|
|
};
|
|
|
|
#endif
|