Debian Codegraph @

src/mainboard/google/beltino/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 <southbridge/intel/lynxpoint/cfr.h>
6
7 static struct sm_obj_form system = {
8 .ui_name = "System",
9 .obj_list = (const struct sm_object *[]) {
10 &me_disable,
11 &nmi,
12 NULL
13 },
14 };
15
16 static struct sm_obj_form power = {
17 .ui_name = "Power",
18 .obj_list = (const struct sm_object *[]) {
19 &power_on_after_fail,
20 NULL
21 },
22 };
23
24 static struct sm_obj_form *sm_root[] = {
25 &system,
26 &power,
27 NULL
28 };
29
30 void mb_cfr_setup_menu(struct lb_cfr *cfr_root)
31 {
32 cfr_write_setup_menu(cfr_root, sm_root);
33 }