From a1067ec6de5070cc14f8b336c83395d93c50bc07 Mon Sep 17 00:00:00 2001 From: Werner Zeh Date: Tue, 1 Jul 2025 10:54:44 +0200 Subject: [PATCH] mb/siemens/mc_rpl: Remove unneeded code to select a VBT name in CBFS This mainboard will just have a single VBT in cbfs which will be named as the default name is (vbt.bin). There is no need to chose between different configurations for the VBT selection. Therefore, remove the corresponding code. Change-Id: Ia72e8bae23c15476c362e456dc8358bec3b102a5 Signed-off-by: Werner Zeh Reviewed-on: https://review.coreboot.org/c/coreboot/+/88261 Tested-by: build bot (Jenkins) Reviewed-by: Mario Scheithauer --- src/mainboard/siemens/mc_rpl/mainboard.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/mainboard/siemens/mc_rpl/mainboard.c b/src/mainboard/siemens/mc_rpl/mainboard.c index c02cbf9a58..a95e1efae6 100644 --- a/src/mainboard/siemens/mc_rpl/mainboard.c +++ b/src/mainboard/siemens/mc_rpl/mainboard.c @@ -5,7 +5,6 @@ #include #include #include -#include #include #include #include @@ -68,24 +67,3 @@ struct chip_operations mainboard_ops = { .init = mainboard_init, .enable_dev = mainboard_enable, }; - -const char *mainboard_vbt_filename(void) -{ - if (!CONFIG(CHROMEOS)) - return "vbt.bin"; - - uint32_t cpu_id = cpu_get_cpuid(); - uint8_t sku_id = get_board_id(); - switch (sku_id) { - case ADL_P_LP5_1: - case ADL_P_LP5_2: - if (cpu_id == CPUID_RAPTORLAKE_J0) - return "vbt_adlrvp_rpl_lp5.bin"; - return "vbt_adlrvp_lp5.bin"; - case ADL_P_DDR5_1: - case ADL_P_DDR5_2: - return "vbt_adlrvp_ddr5.bin"; - default: - return "vbt.bin"; - } -}