From 45d818b4ab29d950c8879574709891c955e8bc21 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Mon, 12 Dec 2022 21:14:16 +0100 Subject: nb/intel/sandybridge/sandybridge.h: Remove unnecessary guard __ACPI__ is covered through __ASSEMBLER__. Change-Id: I6a637e63c6bbe4af7cd52be1893e47d6b5967886 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/70697 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/northbridge/intel/sandybridge/sandybridge.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/northbridge/intel/sandybridge') diff --git a/src/northbridge/intel/sandybridge/sandybridge.h b/src/northbridge/intel/sandybridge/sandybridge.h index 1a92745daa..1e8786410d 100644 --- a/src/northbridge/intel/sandybridge/sandybridge.h +++ b/src/northbridge/intel/sandybridge/sandybridge.h @@ -11,7 +11,7 @@ #include "memmap.h" /* Everything below this line is ignored in the DSDT */ -#ifndef __ACPI__ +#ifndef __ASSEMBLER__ #include /* Chipset types */ @@ -54,8 +54,6 @@ enum platform_type { #include "registers/dmibar.h" -#ifndef __ASSEMBLER__ - bool is_sandybridge(void); void intel_sandybridge_finalize_smm(void); @@ -78,6 +76,5 @@ struct acpi_rsdp; unsigned long northbridge_write_acpi_tables(const struct device *device, unsigned long start, struct acpi_rsdp *rsdp); -#endif -#endif +#endif /* __ASSEMBLER__ */ #endif /* __NORTHBRIDGE_INTEL_SANDYBRIDGE_SANDYBRIDGE_H__ */ -- cgit v1.2.3