diff --git a/src/mainboard/google/poppy/cfr.c b/src/mainboard/google/poppy/cfr.c index 01793c080c..40bc75656f 100644 --- a/src/mainboard/google/poppy/cfr.c +++ b/src/mainboard/google/poppy/cfr.c @@ -6,15 +6,11 @@ #include #include -static const struct sm_object ipu_camera = SM_DECLARE_ENUM({ +static const struct sm_object ipu_camera = SM_DECLARE_BOOL({ .opt_name = "ipu_camera", .ui_name = "IPU Camera", .ui_helptext = "Enable or disable integrated camera devices", .default_value = true, - .values = (const struct sm_enum_value[]) { - { "Disabled", 0 }, - { "Enabled", 1 }, - SM_ENUM_VALUE_END }, #if !CONFIG(VARIANT_HAS_CAMERA_ACPI) .flags = CFR_OPTFLAG_SUPPRESS, #endif