From 083504b66b5f3b281221f0a8f4fd62a4d9071287 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 24 Jun 2017 21:30:14 -0600 Subject: southbridge/amd: add IS_ENABLED() around Kconfig symbol references MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8fabb7331435eb518a5c95cb29c4ff5ca98560d2 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20349 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/southbridge/amd/cimx/sb800/SBPLATFORM.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/southbridge/amd/cimx/sb800/SBPLATFORM.h') diff --git a/src/southbridge/amd/cimx/sb800/SBPLATFORM.h b/src/southbridge/amd/cimx/sb800/SBPLATFORM.h index c933207179..75cf12b099 100644 --- a/src/southbridge/amd/cimx/sb800/SBPLATFORM.h +++ b/src/southbridge/amd/cimx/sb800/SBPLATFORM.h @@ -49,7 +49,7 @@ typedef union _PCI_ADDR { #endif #define FIXUP_PTR(ptr) ptr -#if CONFIG_SB800_IMC_FWM +#if IS_ENABLED(CONFIG_SB800_IMC_FWM) #define IMC_ENABLE_OVER_WRITE 0x01 #endif @@ -153,10 +153,7 @@ typedef union _PCI_ADDR { #define cimFusionMsgCStageDefault FALSE #include "vendorcode/amd/cimx/sb800/AMDSBLIB.h" - -#if CONFIG_HAVE_ACPI_RESUME #include -#endif #define BIOSRAM_INDEX 0xcd4 #define BIOSRAM_DATA 0xcd5 -- cgit v1.2.3