From a8a77f9da22051500ce4106d587bc153fc7dbc36 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 1 Dec 2025 20:06:54 -0600 Subject: [PATCH] mb/google/fizz: Add CFR option for automatic fan control Allow users to enable/disable automatic fan control via CFR options menu. TEST=build/boot fizz w/edk2 payload, verify automatic fan control toggle functional. Change-Id: I40e72b21f34e943b0f4bd6a206d004d89ec9692a Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/90310 Reviewed-by: Jason Glenesk Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/mainboard/google/fizz/cfr.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mainboard/google/fizz/cfr.c b/src/mainboard/google/fizz/cfr.c index c775136d54..10df17757c 100644 --- a/src/mainboard/google/fizz/cfr.c +++ b/src/mainboard/google/fizz/cfr.c @@ -2,6 +2,7 @@ #include #include +#include #include #include @@ -24,6 +25,14 @@ static struct sm_obj_form system = { }, }; +static struct sm_obj_form ec = { + .ui_name = "ChromeEC Embedded Controller", + .obj_list = (const struct sm_object *[]) { + &auto_fan_control, + NULL + }, +}; + static struct sm_obj_form power = { .ui_name = "Power", .obj_list = (const struct sm_object *[]) { @@ -34,6 +43,7 @@ static struct sm_obj_form power = { static struct sm_obj_form *sm_root[] = { &system, + &ec, &power, NULL };