Debian Codegraph @

src/mainboard/google/fizz/cfr.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <boot/coreboot_tables.h>
4 #include <drivers/option/cfr_frontend.h>
5 #include <intelblocks/cfr.h>
6 #include <soc/cfr.h>
7
8 static struct sm_obj_form system = {
9 .ui_name = "System",
10 .obj_list = (const struct sm_object *[]) {
11 &hyper_threading,
12 &igd_dvmt,
13 &igd_aperture,
14 &legacy_8254_timer,
15 &me_state,
16 &me_state_counter,
17 &pciexp_aspm,
18 &pciexp_clk_pm,
19 &pciexp_l1ss,
20 &pciexp_speed,
21 &s0ix_enable,
22 &vtd,
23 NULL
24 },
25 };
26
27 static struct sm_obj_form power = {
28 .ui_name = "Power",
29 .obj_list = (const struct sm_object *[]) {
30 &power_on_after_fail,
31 NULL
32 },
33 };
34
35 static struct sm_obj_form *sm_root[] = {
36 &system,
37 &power,
38 NULL
39 };
40
41 void mb_cfr_setup_menu(struct lb_cfr *cfr_root)
42 {
43 cfr_write_setup_menu(cfr_root, sm_root);
44 }