| 1 |
|
| 2 |
|
| 3 |
#include <boot/coreboot_tables.h> |
| 4 |
#include <drivers/option/cfr_frontend.h> |
| 5 |
#include <northbridge/intel/sandybridge/cfr.h> |
| 6 |
#include <southbridge/intel/bd82x6x/cfr.h> |
| 7 |
|
| 8 |
static struct sm_obj_form system = { |
| 9 |
.ui_name = "System", |
| 10 |
.obj_list = (const struct sm_object *[]) { |
| 11 |
&gfx_uma_size, |
| 12 |
&me_state, |
| 13 |
&me_state_prev, |
| 14 |
&nmi, |
| 15 |
&sata_mode, |
| 16 |
NULL |
| 17 |
}, |
| 18 |
}; |
| 19 |
|
| 20 |
static struct sm_obj_form power = { |
| 21 |
.ui_name = "Power", |
| 22 |
.obj_list = (const struct sm_object *[]) { |
| 23 |
&power_on_after_fail, |
| 24 |
NULL |
| 25 |
}, |
| 26 |
}; |
| 27 |
|
| 28 |
static struct sm_obj_form *sm_root[] = { |
| 29 |
&system, |
| 30 |
&power, |
| 31 |
NULL |
| 32 |
}; |
| 33 |
|
| 34 |
void mb_cfr_setup_menu(struct lb_cfr *cfr_root) |
| 35 |
{ |
| 36 |
cfr_write_setup_menu(cfr_root, sm_root); |
| 37 |
} |