/* SPDX-License-Identifier: GPL-2.0-only */ #include #include #include #include static struct sm_obj_form system = { .ui_name = "System", .obj_list = (const struct sm_object *[]) { &hyper_threading, &igd_dvmt, &igd_aperture, &legacy_8254_timer, &me_state, &me_state_counter, &pciexp_aspm, &pciexp_clk_pm, &pciexp_l1ss, &pciexp_speed, &s0ix_enable, &vtd, NULL }, }; static struct sm_obj_form power = { .ui_name = "Power", .obj_list = (const struct sm_object *[]) { &power_on_after_fail, NULL }, }; static struct sm_obj_form *sm_root[] = { &system, &power, NULL }; void mb_cfr_setup_menu(struct lb_cfr *cfr_root) { cfr_write_setup_menu(cfr_root, sm_root); }