From ea32e30a18d82ee6ff339b6303afe9ebbe6c7290 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Fri, 2 May 2025 13:26:20 -0500 Subject: [PATCH] mb/starlabs/*/cfr: Remove `reboot_counter` CFR option This option isn't hooked up to anything currently, so remove it. Change-Id: I01cddc6dbffa5a0cf914ef3c529366ee6ceaaf02 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/87560 Reviewed-by: Sean Rhodes Tested-by: build bot (Jenkins) --- src/mainboard/starlabs/byte_adl/cfr.c | 8 -------- src/mainboard/starlabs/lite/cfr.c | 8 -------- src/mainboard/starlabs/starbook/cfr.c | 1 - src/mainboard/starlabs/starbook/cfr.h | 8 -------- src/mainboard/starlabs/starfighter/cfr.c | 8 -------- src/mainboard/starlabs/starlite_adl/cfr.c | 8 -------- 6 files changed, 41 deletions(-) diff --git a/src/mainboard/starlabs/byte_adl/cfr.c b/src/mainboard/starlabs/byte_adl/cfr.c index 08e6e4e0a2..7dfacd6fa3 100644 --- a/src/mainboard/starlabs/byte_adl/cfr.c +++ b/src/mainboard/starlabs/byte_adl/cfr.c @@ -94,13 +94,6 @@ static const struct sm_object pciexp_l1ss = SM_DECLARE_ENUM({ SM_ENUM_VALUE_END }, }); -static const struct sm_object reboot_counter = SM_DECLARE_NUMBER({ - .opt_name = "reboot_counter", - .ui_name = "Reboot Counter", - .flags = CFR_OPTFLAG_SUPPRESS, - .default_value = 0, -}); - static const struct sm_object vtd = SM_DECLARE_BOOL({ .opt_name = "vtd", .ui_name = "VT-d", @@ -165,7 +158,6 @@ static struct sm_obj_form coreboot = { .ui_name = "coreboot", .obj_list = (const struct sm_object *[]) { &debug_level, - &reboot_counter, NULL }, }; diff --git a/src/mainboard/starlabs/lite/cfr.c b/src/mainboard/starlabs/lite/cfr.c index b35b29609e..8cfedf8224 100644 --- a/src/mainboard/starlabs/lite/cfr.c +++ b/src/mainboard/starlabs/lite/cfr.c @@ -53,13 +53,6 @@ static const struct sm_object microphone = SM_DECLARE_BOOL({ .default_value = true, }); -static const struct sm_object reboot_counter = SM_DECLARE_NUMBER({ - .opt_name = "reboot_counter", - .ui_name = "Reboot Counter", - .flags = CFR_OPTFLAG_SUPPRESS, - .default_value = 0, -}); - static const struct sm_object webcam = SM_DECLARE_BOOL({ .opt_name = "webcam", .ui_name = "Webcam", @@ -144,7 +137,6 @@ static struct sm_obj_form coreboot = { .ui_name = "coreboot", .obj_list = (const struct sm_object *[]) { &debug_level, - &reboot_counter, NULL }, }; diff --git a/src/mainboard/starlabs/starbook/cfr.c b/src/mainboard/starlabs/starbook/cfr.c index f549a18920..de8ad2eeb0 100644 --- a/src/mainboard/starlabs/starbook/cfr.c +++ b/src/mainboard/starlabs/starbook/cfr.c @@ -102,7 +102,6 @@ static struct sm_obj_form coreboot = { .ui_name = "coreboot", .obj_list = (const struct sm_object *[]) { &debug_level, - &reboot_counter, NULL }, }; diff --git a/src/mainboard/starlabs/starbook/cfr.h b/src/mainboard/starlabs/starbook/cfr.h index cd247b9d83..fe1a01e93c 100644 --- a/src/mainboard/starlabs/starbook/cfr.h +++ b/src/mainboard/starlabs/starbook/cfr.h @@ -128,14 +128,6 @@ static const struct sm_object pciexp_l1ss = SM_DECLARE_ENUM({ SM_ENUM_VALUE_END }, }); -static const struct sm_object reboot_counter = SM_DECLARE_NUMBER({ - .opt_name = "reboot_counter", - .ui_name = "Reboot Counter", - .flags = CFR_OPTFLAG_SUPPRESS, - .default_value = 0, -}); - - static const struct sm_object thunderbolt = SM_DECLARE_BOOL({ .opt_name = "thunderbolt", .ui_name = "Thunderbolt", diff --git a/src/mainboard/starlabs/starfighter/cfr.c b/src/mainboard/starlabs/starfighter/cfr.c index 9f2f1dd295..bb0c34b83f 100644 --- a/src/mainboard/starlabs/starfighter/cfr.c +++ b/src/mainboard/starlabs/starfighter/cfr.c @@ -106,13 +106,6 @@ static const struct sm_object pciexp_l1ss = SM_DECLARE_ENUM({ }); #endif -static const struct sm_object reboot_counter = SM_DECLARE_NUMBER({ - .opt_name = "reboot_counter", - .ui_name = "Reboot Counter", - .flags = CFR_OPTFLAG_SUPPRESS, - .default_value = 0, -}); - #if CONFIG(DRIVERS_INTEL_USB4_RETIMER) static const struct sm_object thunderbolt = SM_DECLARE_BOOL({ .opt_name = "thunderbolt", @@ -220,7 +213,6 @@ static struct sm_obj_form coreboot = { .ui_name = "coreboot", .obj_list = (const struct sm_object *[]) { &debug_level, - &reboot_counter, NULL }, }; diff --git a/src/mainboard/starlabs/starlite_adl/cfr.c b/src/mainboard/starlabs/starlite_adl/cfr.c index 8455d3c592..e1c86cf17f 100644 --- a/src/mainboard/starlabs/starlite_adl/cfr.c +++ b/src/mainboard/starlabs/starlite_adl/cfr.c @@ -126,13 +126,6 @@ static const struct sm_object pciexp_l1ss = SM_DECLARE_ENUM({ }); #endif -static const struct sm_object reboot_counter = SM_DECLARE_NUMBER({ - .opt_name = "reboot_counter", - .ui_name = "Reboot Counter", - .flags = CFR_OPTFLAG_SUPPRESS, - .default_value = 0, -}); - static const struct sm_object touchscreen = SM_DECLARE_BOOL({ .opt_name = "touchscreen", .ui_name = "Touchscreen", @@ -245,7 +238,6 @@ static struct sm_obj_form coreboot = { .ui_name = "coreboot", .obj_list = (const struct sm_object *[]) { &debug_level, - &reboot_counter, NULL }, };