summaryrefslogtreecommitdiff
path: root/src/commonlib/cbfs.c
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-04-06 16:00:37 +0200
committerNico Huber <nico.h@gmx.de>2019-04-08 18:52:38 +0000
commit8f7a53a96838d57f4d24bd80e9a4a6eb1a6e5a2f (patch)
tree946538575c4f6e0f9f92af9a32df7a1e82f80022 /src/commonlib/cbfs.c
parente732773c7473b113b7cbad8611325b65cf96d8c7 (diff)
commonlib/cbfs: Check for presence of CONFIG() macro
Check for CONFIG not IS_ENABLED, as we use the former now. Change-Id: I7e1b67bc0894ca6f0149039054449656b58bcdd3 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32226 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/commonlib/cbfs.c')
-rw-r--r--src/commonlib/cbfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/cbfs.c b/src/commonlib/cbfs.c
index 250a72a4ce..4379099ffe 100644
--- a/src/commonlib/cbfs.c
+++ b/src/commonlib/cbfs.c
@@ -25,7 +25,7 @@
#if !defined(LOG)
#define LOG(x...) printk(BIOS_INFO, "CBFS: " x)
#endif
-#if defined(IS_ENABLED)
+#if defined(CONFIG)
#if CONFIG(DEBUG_CBFS)
#define DEBUG(x...) printk(BIOS_SPEW, "CBFS: " x)