From 3ac92b7c93addd8e75096162f88e65a3a54fcab0 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 3 Jul 2020 23:32:44 +0200 Subject: haswell: Automatically determine system type Check the PCH's LPC device ID to know the system type instead of relying on hardcoded numbers. The `get_pch_platform_type` function is MRC-safe. Change-Id: Icfe7c2dccb7c7a178892ad3a2e34ca93b33b2bb9 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/43124 Reviewed-by: Tristan Corrick Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/t440p/romstage.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mainboard/lenovo') diff --git a/src/mainboard/lenovo/t440p/romstage.c b/src/mainboard/lenovo/t440p/romstage.c index 5a5f2dec7f..36787603bf 100644 --- a/src/mainboard/lenovo/t440p/romstage.c +++ b/src/mainboard/lenovo/t440p/romstage.c @@ -42,7 +42,6 @@ void mb_late_romstage_setup(void) void mainboard_fill_pei_data(struct pei_data *pei_data) { - pei_data->system_type = 0; /* Mobile */ pei_data->spd_addresses[0] = 0xa0; pei_data->spd_addresses[2] = 0xa2; pei_data->ec_present = 1; -- cgit v1.2.3