soc/mediatek/mt8196: Add PMIC MT6316 driver
[coreboot2.git] / src / mainboard / google / zork / variants / berknip / variant.c
blob06f1556d511c6ed8d7d2027a402db22fadcbd3cb
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <baseboard/variants.h>
4 #include <static.h>
6 void variant_devtree_update(void)
8 /*
9 * Enable eMMC if eMMC bit is set in FW_CONFIG or device is unprovisioned.
11 if (!(variant_has_emmc() || boot_is_factory_unprovisioned()))
12 DEV_PTR(emmc)->enabled = 0;
15 bool variant_has_fingerprint(void)
17 switch (sku_id()) {
18 case 0x5A030010:
19 case 0x5A030011:
20 case 0x5A030012:
21 case 0x5A030013:
22 case 0x5A030014:
23 case 0x5A030020:
24 case 0x5A030040:
25 case 0x5A030043:
26 case 0x5A030080:
27 case 0x5A030081:
28 case 0x5A030082:
29 case 0x5A030083:
30 case 0x5A030084:
31 case 0x5A030085:
32 case 0x5A030086:
33 case 0x5A030087:
34 case 0x5A030090:
35 case 0x5A030091:
36 case 0x5A030092:
37 case 0x5A030093:
38 case 0x5A03009C:
39 case 0x5A03009D:
40 case 0x5A03009E:
41 case 0x5A03009F:
42 case 0x5A0300A0:
43 case 0x5A0300A1:
44 case 0x5A0300A2:
45 case 0x5A0300A3:
46 case 0x5A0300B8:
47 case 0x5A0300BD:
48 case 0x5A0300BF:
49 case 0x5A0300C1:
50 case 0x5A0300C3:
51 case 0x5A0300C5:
52 case 0x5A0300C7:
53 case 0x5A0300C9:
54 case 0x5A0300CB:
55 case 0x5A0300CD:
56 case 0x5A0300CF:
57 case 0x5A0300D1:
58 case 0x5A0300D3:
59 case 0x5A0300D5:
60 case 0x5A0300D7:
61 case 0x5A0300D9:
62 case 0x5A0300DB:
63 case 0x5A0300DD:
64 case 0x5A0300DF:
65 case 0x5A0300E1:
66 case 0x5A0300E3:
67 case 0x5A0300E5:
68 case 0x5A0300E7:
69 case 0x5A0300E9:
70 case 0x5A0300EB:
71 case 0x5A0300ED:
72 case 0x5A0300EF:
73 case 0x5A0300F1:
74 case 0x5A0300F3:
75 case 0x5A0300F5:
76 case 0x5A0300F7:
77 case 0x5A0300F8:
78 case 0x5A0300FA:
79 case 0x5A0300FB:
80 case 0x5A0300FD:
81 case 0x5A0300FE:
82 case 0x5A030100:
83 case 0x5A030101:
84 case 0x5A030103:
85 case 0x5A030104:
86 case 0x5A030106:
87 case 0x5A030107:
88 case 0x5A030109:
89 case 0x5A03010B:
90 case 0x5A03010C:
91 case 0x5A03010E:
92 case 0x5A03010F:
93 case 0x5A030111:
94 case 0x5A030112:
95 case 0x5A030114:
96 case 0x5A030115:
97 case 0x5A030117:
98 case 0x5A030118:
99 case 0x5A03011A:
100 case 0x5A03011B:
101 case 0x5A03011D:
102 case 0x5A03011E:
103 case 0x5A030120:
104 case 0x5A030121:
105 case 0x5A030123:
106 return false;
107 default:
108 return true;