Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/mainboard/system76/addw1/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@ config BOARD_SPECIFIC_OPTIONS
def_bool y
select AZALIA_USE_LEGACY_VERB_TABLE
select BOARD_ROMSIZE_KB_16384
select CSE_DEFAULT_CFR_OPTION_STATE_DISABLED
select DRIVERS_EFI_VARIABLE_STORE
select DRIVERS_GENERIC_CBFS_SERIAL
select DRIVERS_GENERIC_CBFS_UUID
select DRIVERS_GFX_NVIDIA
select DRIVERS_I2C_HID
select DRIVERS_I2C_TAS5825M
select DRIVERS_OPTION_CFR_ENABLED
select EC_SYSTEM76_EC
select EC_SYSTEM76_EC_DGPU
select EC_SYSTEM76_EC_OLED
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select HAVE_CMOS_DEFAULT
select HAVE_OPTION_TABLE
select INTEL_GMA_HAVE_VBT
select INTEL_LPSS_UART_FOR_CONSOLE
select MEMORY_MAPPED_TPM
Expand Down
1 change: 1 addition & 0 deletions src/mainboard/system76/addw1/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ ramstage-y += ramstage.c
ramstage-y += variants/$(VARIANT_DIR)/gpio.c
ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c
ramstage-y += variants/$(VARIANT_DIR)/tas5825m.c
ramstage-$(CONFIG_DRIVERS_OPTION_CFR) += cfr.c
25 changes: 25 additions & 0 deletions src/mainboard/system76/addw1/cfr.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* SPDX-License-Identifier: GPL-2.0-only */

#include <boot/coreboot_tables.h>
#include <console/cfr.h>
#include <intelblocks/cfr.h>

static struct sm_obj_form system_group = {
.ui_name = "System",
.obj_list = (const struct sm_object *[]) {
&debug_level,
&me_state,
&me_state_counter,
NULL
},
};

static struct sm_obj_form *sm_root[] = {
&system_group,
NULL
};

void mb_cfr_setup_menu(struct lb_cfr *cfr_root)
{
cfr_write_setup_menu(cfr_root, sm_root);
}
5 changes: 0 additions & 5 deletions src/mainboard/system76/addw1/cmos.default

This file was deleted.

43 changes: 0 additions & 43 deletions src/mainboard/system76/addw1/cmos.layout

This file was deleted.

9 changes: 3 additions & 6 deletions src/mainboard/system76/adl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ config BOARD_SYSTEM76_ADL_COMMON
def_bool n
select AZALIA_USE_LEGACY_VERB_TABLE
select BOARD_ROMSIZE_KB_32768
select CSE_DEFAULT_CFR_OPTION_STATE_DISABLED if !BOARD_SYSTEM76_DARP8
select DRIVERS_EFI_VARIABLE_STORE
select DRIVERS_GENERIC_BAYHUB_LV2
select DRIVERS_GENERIC_CBFS_SERIAL
select DRIVERS_GENERIC_CBFS_UUID
select DRIVERS_I2C_HID
select DRIVERS_INTEL_PMC
select DRIVERS_INTEL_USB4_RETIMER
select DRIVERS_OPTION_CFR_ENABLED
select EC_SYSTEM76_EC
select EC_SYSTEM76_EC_LOCKDOWN
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select HAVE_CMOS_DEFAULT
select HAVE_OPTION_TABLE
select INTEL_GMA_HAVE_VBT
select INTEL_LPSS_UART_FOR_CONSOLE
select MAINBOARD_HAS_TPM2
Expand Down Expand Up @@ -104,10 +105,6 @@ config MAINBOARD_VERSION
default "oryp9" if BOARD_SYSTEM76_ORYP9
default "oryp10" if BOARD_SYSTEM76_ORYP10

config CMOS_DEFAULT_FILE
default "src/mainboard/\$(MAINBOARDDIR)/cmos-csme.default" if BOARD_SYSTEM76_DARP8
default "src/mainboard/\$(MAINBOARDDIR)/cmos.default"

config CONSOLE_POST
default y

Expand Down
1 change: 1 addition & 0 deletions src/mainboard/system76/adl/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ ramstage-y += ramstage.c
ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c
ramstage-y += variants/$(VARIANT_DIR)/gpio.c
ramstage-$(CONFIG_DRIVERS_I2C_TAS5825M) += variants/$(VARIANT_DIR)/tas5825m.c
ramstage-$(CONFIG_DRIVERS_OPTION_CFR) += cfr.c

SPD_SOURCES = samsung-P4AAF165WA-BCWDE
25 changes: 25 additions & 0 deletions src/mainboard/system76/adl/cfr.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* SPDX-License-Identifier: GPL-2.0-only */

#include <boot/coreboot_tables.h>
#include <console/cfr.h>
#include <intelblocks/cfr.h>

static struct sm_obj_form system_group = {
.ui_name = "System",
.obj_list = (const struct sm_object *[]) {
&debug_level,
&me_state,
&me_state_counter,
NULL
},
};

static struct sm_obj_form *sm_root[] = {
&system_group,
NULL
};

void mb_cfr_setup_menu(struct lb_cfr *cfr_root)
{
cfr_write_setup_menu(cfr_root, sm_root);
}
5 changes: 0 additions & 5 deletions src/mainboard/system76/adl/cmos-csme.default

This file was deleted.

5 changes: 0 additions & 5 deletions src/mainboard/system76/adl/cmos.default

This file was deleted.

43 changes: 0 additions & 43 deletions src/mainboard/system76/adl/cmos.layout

This file was deleted.

5 changes: 3 additions & 2 deletions src/mainboard/system76/bonw14/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@ config BOARD_SPECIFIC_OPTIONS
def_bool y
select AZALIA_USE_LEGACY_VERB_TABLE
select BOARD_ROMSIZE_KB_16384
select CSE_DEFAULT_CFR_OPTION_STATE_DISABLED
select DRIVERS_EFI_VARIABLE_STORE
select DRIVERS_GENERIC_CBFS_SERIAL
select DRIVERS_GENERIC_CBFS_UUID
select DRIVERS_GFX_NVIDIA
select DRIVERS_I2C_HID
select DRIVERS_I2C_TAS5825M
select DRIVERS_OPTION_CFR_ENABLED
select EC_SYSTEM76_EC
select EC_SYSTEM76_EC_DGPU
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select HAVE_CMOS_DEFAULT
select HAVE_OPTION_TABLE
select INTEL_LPSS_UART_FOR_CONSOLE
select MEMORY_MAPPED_TPM
select MAINBOARD_HAS_TPM2
Expand Down
1 change: 1 addition & 0 deletions src/mainboard/system76/bonw14/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ ramstage-y += ramstage.c
ramstage-y += gpio.c
ramstage-y += hda_verb.c
ramstage-y += tas5825m.c
ramstage-$(CONFIG_DRIVERS_OPTION_CFR) += cfr.c
25 changes: 25 additions & 0 deletions src/mainboard/system76/bonw14/cfr.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* SPDX-License-Identifier: GPL-2.0-only */

#include <boot/coreboot_tables.h>
#include <console/cfr.h>
#include <intelblocks/cfr.h>

static struct sm_obj_form system_group = {
.ui_name = "System",
.obj_list = (const struct sm_object *[]) {
&debug_level,
&me_state,
&me_state_counter,
NULL
},
};

static struct sm_obj_form *sm_root[] = {
&system_group,
NULL
};

void mb_cfr_setup_menu(struct lb_cfr *cfr_root)
{
cfr_write_setup_menu(cfr_root, sm_root);
}
5 changes: 0 additions & 5 deletions src/mainboard/system76/bonw14/cmos.default

This file was deleted.

43 changes: 0 additions & 43 deletions src/mainboard/system76/bonw14/cmos.layout

This file was deleted.

5 changes: 3 additions & 2 deletions src/mainboard/system76/cml-u/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ config BOARD_SPECIFIC_OPTIONS
def_bool y
select AZALIA_USE_LEGACY_VERB_TABLE
select BOARD_ROMSIZE_KB_16384
select CSE_DEFAULT_CFR_OPTION_STATE_DISABLED
select DRIVERS_EFI_VARIABLE_STORE
select DRIVERS_GENERIC_CBFS_SERIAL
select DRIVERS_GENERIC_CBFS_UUID
select DRIVERS_I2C_HID
select DRIVERS_OPTION_CFR_ENABLED
select EC_SYSTEM76_EC
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select HAVE_CMOS_DEFAULT
select HAVE_OPTION_TABLE
select HAVE_SPD_IN_CBFS if BOARD_SYSTEM76_LEMP9
select INTEL_GMA_HAVE_VBT
select INTEL_LPSS_UART_FOR_CONSOLE
Expand Down
1 change: 1 addition & 0 deletions src/mainboard/system76/cml-u/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ romstage-y += variants/$(VARIANT_DIR)/romstage.c
ramstage-y += ramstage.c
ramstage-y += variants/$(VARIANT_DIR)/gpio.c
ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c
ramstage-$(CONFIG_DRIVERS_OPTION_CFR) += cfr.c

SPD_SOURCES = samsung-K4AAG165WA-BCTD
25 changes: 25 additions & 0 deletions src/mainboard/system76/cml-u/cfr.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* SPDX-License-Identifier: GPL-2.0-only */

#include <boot/coreboot_tables.h>
#include <console/cfr.h>
#include <intelblocks/cfr.h>

static struct sm_obj_form system_group = {
.ui_name = "System",
.obj_list = (const struct sm_object *[]) {
&debug_level,
&me_state,
&me_state_counter,
NULL
},
};

static struct sm_obj_form *sm_root[] = {
&system_group,
NULL
};

void mb_cfr_setup_menu(struct lb_cfr *cfr_root)
{
cfr_write_setup_menu(cfr_root, sm_root);
}
5 changes: 0 additions & 5 deletions src/mainboard/system76/cml-u/cmos.default

This file was deleted.

Loading