mb/google/brya: Create rull variant
[coreboot2.git] / src / vendorcode / google / chromeos / acpi / chromeos.asl
blobb9f807fada9b37ef36a770c9a8888fdb8c234021
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <security/vboot/vbnv_layout.h>
5 /* GPIO package generated at run time. */
6 External (OIPG, PkgObj)
8 Device (CRHW)
10         Name(_HID, "GOOG0016")
11         Name(_CID, EISAID("GGL0001"))
13         Method(_STA, 0, Serialized)
14         {
15                 Return (0xb)
16         }
18         Method(CHSW, 0, Serialized)
19         {
20                 Name (WSHC, Package() { VBT3 })
21                 Return (WSHC)
22         }
24         Method(FWID, 0, Serialized)
25         {
26                 Name (DIW1, "")
27                 ToString(VBT5, 63, DIW1)
28                 Name (DIWF, Package() { DIW1 })
29                 Return(DIWF)
30         }
32         Method(FRID, 0, Serialized)
33         {
34                 Name (DIR1, "")
35                 ToString(VBT6, 63, DIR1)
36                 Name (DIRF, Package() { DIR1 })
37                 Return (DIRF)
38         }
40         Method(HWID, 0, Serialized)
41         {
42                 Name (DIW0, "")
43                 ToString(VBT4, 255, DIW0)
44                 Name (DIWH, Package() { DIW0 })
45                 Return (DIWH)
46         }
48         Method(BINF, 0, Serialized)
49         {
50                 Name (FNIB, Package() { VBT0, VBT1, VBT2, VBT7, VBT8 })
51                 Return (FNIB)
52         }
54         Method(GPIO, 0, Serialized)
55         {
56                 Return (OIPG)
58         }
60         Method(VBNV, 0, Serialized)
61         {
62                 Name(VNBV, Package() {
63                         // See src/vendorcode/google/chromeos/Kconfig
64                         // for the definition of these:
65                         CONFIG_VBOOT_VBNV_OFFSET,
66                         VBOOT_VBNV_BLOCK_SIZE
67                 })
68                 Return(VNBV)
69         }
71         Method(VDAT, 0, Serialized)
72         {
73                 Name(TAD0,"")
74                 ToBuffer(CHVD, TAD0)
75                 Name (TADV, Package() { TAD0 })
76                 Return (TADV)
77         }
79         Method(FMAP, 0, Serialized)
80         {
81                 Name(PAMF, Package() { VBT9 })
82                 Return(PAMF)
83         }
85         Method(MECK, 0, Serialized)
86         {
87                 Name(HASH, Package() { MEHH })
88                 Return(HASH)
89         }
91         Method(MLST, 0, Serialized)
92         {
93                 Name(TSLM, Package() { "CHSW", "FWID", "HWID", "FRID", "BINF",
94                            "GPIO", "VBNV", "VDAT", "FMAP", "MECK"
95                 })
96                 Return (TSLM)
97         }
100 #include <vendorcode/google/chromeos/acpi/gnvs.asl>
102 #include "ramoops.asl"