soc/intel/apollolake: Let coreboot set the VendorID and Subsystem ID

Set all FSP S UPDs that set IDs to 0, which allows them to be set
by coreboot.

Tested on StarLite Mk IV and LPC now has the correct device ID of
0x31e8, where previously it had 0x7270.

The UPDs differ APL and GLK, but the ones configured in this patch
have been there since their initial releases.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I034c9dc9d81c4d775dfff0994c9a6be823689b1c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65021
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Sean Rhodes 2022-06-08 12:29:01 +01:00 committed by Felix Held
parent f9fe704a83
commit 5d2b1e6e46
1 changed files with 9 additions and 0 deletions

View File

@ -615,6 +615,11 @@ static void glk_fsp_silicon_init_params_cb(
* Options to adjust PMIC Vdd2 voltage.
*/
silconfig->PmicVdd2Voltage = cfg->PmicVdd2Voltage;
/* FSP should let coreboot set subsystem IDs, which are read/write-once */
silconfig->SiSVID = 0;
silconfig->SiSSID = 0;
silconfig->HgSubSystemId = 0;
#endif
}
@ -724,6 +729,10 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
bool use_8254 = get_uint_option("legacy_8254_timer", CONFIG(USE_LEGACY_8254_TIMER));
silconfig->Timer8254ClkSetting = use_8254;
/* FSP should let coreboot set subsystem IDs, which are read/write-once */
silconfig->SubSystemVendorId = 0;
silconfig->SubSystemId = 0;
mainboard_silicon_init_params(silconfig);
}