diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2021-10-18 19:54:21 +0200 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2021-10-20 15:42:51 +0000 |
commit | bc5f51fa56166e6c2dff273fefba4f3ea7e8bac2 (patch) | |
tree | 90ad1300c26ebcdee06ba0dbfb4d85b817e7cbe5 /src/soc/intel/apollolake/acpi | |
parent | e874375394f81eddeb7f9a89e1351cb71c43670c (diff) |
soc/intel/{skl,apl}: don't run or even include SGX code if disabled
Do not run or include any code in case the user did not explicitly
enable SGX through `SOC_INTEL_COMMON_BLOCK_SGX_ENABLE`.
Also move the ifdef inside the ASL file.
Change-Id: Iec4d3d3eb2811ec14d29aff9601ba325724bc28c
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58426
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/soc/intel/apollolake/acpi')
-rw-r--r-- | src/soc/intel/apollolake/acpi/southbridge.asl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/acpi/southbridge.asl b/src/soc/intel/apollolake/acpi/southbridge.asl index f4d1497223..f857bb97a0 100644 --- a/src/soc/intel/apollolake/acpi/southbridge.asl +++ b/src/soc/intel/apollolake/acpi/southbridge.asl @@ -30,6 +30,4 @@ #include <soc/intel/common/acpi/pci_osc.asl> /* SGX */ -#if CONFIG(SOC_INTEL_COMMON_BLOCK_SGX) #include <soc/intel/common/acpi/sgx.asl> -#endif |