1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __VENDORCODE_GOOGLE_CHROMEOS_GNVS_H
4 #define __VENDORCODE_GOOGLE_CHROMEOS_GNVS_H
8 #define ACTIVE_ECFW_RO 0
9 #define ACTIVE_ECFW_RW 1
11 struct chromeos_acpi
{
12 /* ChromeOS specific */
13 u32 vbt0
; // 00 boot reason
14 u32 vbt1
; // 04 active main firmware
15 u32 vbt2
; // 08 active ec firmware
17 u8 vbt4
[256]; // 0e HWID
18 u8 vbt5
[64]; // 10e FWID
19 u8 vbt6
[64]; // 14e FRID - 275
20 u32 vbt7
; // 18e active main firmware type
21 u32 vbt8
; // 192 recovery reason
22 u32 vbt9
; // 196 fmap base address
23 u8 vdat
[3072]; // 19a VDAT space filled by verified boot
24 u32 vbt10
; // d9a smbios bios version
25 u32 mehh
[8]; // d9e management engine hash
26 u32 ramoops_base
; // dbe ramoops base address
27 u32 ramoops_len
; // dc2 ramoops length
28 u32 vpd_ro_base
; // dc6 pointer to RO_VPD
29 u32 vpd_ro_size
; // dca size of RO_VPD
30 u32 vpd_rw_base
; // dce pointer to RW_VPD
31 u32 vpd_rw_size
; // dd2 size of RW_VPD
32 u8 pad
[298]; // dd6-eff