Debian Codegraph @

src/mainboard/google/jecht/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 <soc/cfr.h>
7
8 static struct sm_obj_form system = {
9 .ui_name = "System",
10 .obj_list = (const struct sm_object *[]) {
11 &me_disable,
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 }