Debian Codegraph @

src/mainboard/topton/adl/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 &igd_dvmt,
12 &igd_aperture,
13 &legacy_8254_timer,
14 &me_state,
15 &me_state_counter,
16 &pciexp_aspm,
17 &pciexp_clk_pm,
18 &pciexp_l1ss,
19 &pciexp_speed,
20 &s0ix_enable,
21 &vtd,
22 NULL
23 },
24 };
25
26 static struct sm_obj_form power = {
27 .ui_name = "Power",
28 .obj_list = (const struct sm_object *[]) {
29 &power_on_after_fail,
30 NULL
31 },
32 };
33
34 static struct sm_obj_form *sm_root[] = {
35 &system,
36 &power,
37 NULL
38 };
39
40 void mb_cfr_setup_menu(struct lb_cfr *cfr_root)
41 {
42 cfr_write_setup_menu(cfr_root, sm_root);
43 }