From f9e877ea2173696028ded8e82fbe51e13085865b Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Tue, 1 Oct 2024 11:01:34 -0700 Subject: soc/intel/pantherlake: Remove soc_info.[hc] interface This commit removes the unnecessary layer provided by soc_info.[hc]. It was providing an abstraction which only was resulting in extra function calls without any added value as the returned constants are well identified and could be used directly. More importantly, and this is the actual selling point in my opinion, this extra indirection was preventing the compiler from detecting array overflows. BUG=348678529 TEST=Build is successful Change-Id: Iea26d962748116fa84afdb4afcba1098a64b6986 Signed-off-by: Jeremy Compostella Reviewed-on: https://review.coreboot.org/c/coreboot/+/84616 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/soc/intel/pantherlake/cpu.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/soc/intel/pantherlake/cpu.c') diff --git a/src/soc/intel/pantherlake/cpu.c b/src/soc/intel/pantherlake/cpu.c index 7856383339..1b81856afc 100644 --- a/src/soc/intel/pantherlake/cpu.c +++ b/src/soc/intel/pantherlake/cpu.c @@ -20,7 +20,6 @@ #include #include #include -#include bool cpu_soc_is_in_untrusted_mode(void) { -- cgit v1.2.3