nb/intel/sandybridge/sandybridge.h: Remove unnecessary guard

__ACPI__ is covered through __ASSEMBLER__.

Change-Id: I6a637e63c6bbe4af7cd52be1893e47d6b5967886
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70697
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
Elyes Haouas
2022-12-12 21:14:16 +01:00
committed by Martin L Roth
parent 4f29739be3
commit 45d818b4ab

View File

@@ -11,7 +11,7 @@
#include "memmap.h" #include "memmap.h"
/* Everything below this line is ignored in the DSDT */ /* Everything below this line is ignored in the DSDT */
#ifndef __ACPI__ #ifndef __ASSEMBLER__
#include <types.h> #include <types.h>
/* Chipset types */ /* Chipset types */
@@ -54,8 +54,6 @@ enum platform_type {
#include "registers/dmibar.h" #include "registers/dmibar.h"
#ifndef __ASSEMBLER__
bool is_sandybridge(void); bool is_sandybridge(void);
void intel_sandybridge_finalize_smm(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, unsigned long northbridge_write_acpi_tables(const struct device *device, unsigned long start,
struct acpi_rsdp *rsdp); struct acpi_rsdp *rsdp);
#endif #endif /* __ASSEMBLER__ */
#endif
#endif /* __NORTHBRIDGE_INTEL_SANDYBRIDGE_SANDYBRIDGE_H__ */ #endif /* __NORTHBRIDGE_INTEL_SANDYBRIDGE_SANDYBRIDGE_H__ */