From b89ce115da6ab1a999e925f29192d8d710dca4f3 Mon Sep 17 00:00:00 2001 From: "Tan, Lean Sheng" Date: Fri, 20 Nov 2020 03:06:26 -0800 Subject: soc/intel/elkhartlake: Fix EHL mainboard build fail errors When EHL initial mainboard patch is uploaded, there are some build errors caused by EHL soc codes. Here are the fixes: 1. include gpio_op.asl to resolve undefined variables in scs.asl 2. remove unused variables in fsp_params.c 3. rearrage sequences of #includes to fix build dependency of soc/gpio_defs.h in intelblocks/gpio.h 4. add the __weak to mainboard_memory_init_params function 5. add the missing _len as per this patch changes https://review.coreboot.org/c/coreboot/+/45873 Signed-off-by: Tan, Lean Sheng Change-Id: Idaa8b0b5301742287665abde065ad72965bc62b3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/47804 Reviewed-by: Werner Zeh Tested-by: build bot (Jenkins) --- src/soc/intel/elkhartlake/acpi/gpio.asl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/intel/elkhartlake/acpi/gpio.asl') diff --git a/src/soc/intel/elkhartlake/acpi/gpio.asl b/src/soc/intel/elkhartlake/acpi/gpio.asl index ac0d1df5cb..27cb503f45 100644 --- a/src/soc/intel/elkhartlake/acpi/gpio.asl +++ b/src/soc/intel/elkhartlake/acpi/gpio.asl @@ -3,6 +3,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3