Debian Codegraph @

src/mainboard/google/puff/cfr.c

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