summaryrefslogtreecommitdiff
path: root/src/cpu/amd/agesa
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-06-24 13:24:26 -0600
committerMartin Roth <martinroth@google.com>2017-06-28 17:48:34 +0000
commit5f46af6325b5facb9a608b0f86595b92b98ed718 (patch)
treeb43c7b4ea908ef874aaae437e51e07c57852d92c /src/cpu/amd/agesa
parent2a6f4aecfe0b76aa3feb14c3267be226b328697b (diff)
downloadcoreboot-5f46af6325b5facb9a608b0f86595b92b98ed718.tar.xz
cpu/amd: add IS_ENABLED() around Kconfig symbol references
Some of these can be changed from #if to if(), but that will happen in a follow-on commmit. Change-Id: I9f4155285529ec28e826637a61436478f648704c Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20335 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/cpu/amd/agesa')
-rw-r--r--src/cpu/amd/agesa/amd_late_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/amd/agesa/amd_late_init.c b/src/cpu/amd/agesa/amd_late_init.c
index a55ebd896f..9bb6b2784e 100644
--- a/src/cpu/amd/agesa/amd_late_init.c
+++ b/src/cpu/amd/agesa/amd_late_init.c
@@ -18,7 +18,7 @@
#include <northbridge/amd/agesa/agesawrapper.h>
-#if CONFIG_AMD_SB_CIMX
+#if IS_ENABLED(CONFIG_AMD_SB_CIMX)
#include <sb_cimx.h>
#endif
@@ -29,7 +29,7 @@ static void agesawrapper_post_device(void *unused)
agesawrapper_amdinitlate();
-#if CONFIG_AMD_SB_CIMX
+#if IS_ENABLED(CONFIG_AMD_SB_CIMX)
sb_Late_Post();
#endif
if (!acpi_s3_resume_allowed())