From 8f7a53a96838d57f4d24bd80e9a4a6eb1a6e5a2f Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 6 Apr 2019 16:00:37 +0200 Subject: commonlib/cbfs: Check for presence of CONFIG() macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Check for CONFIG not IS_ENABLED, as we use the former now. Change-Id: I7e1b67bc0894ca6f0149039054449656b58bcdd3 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/32226 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel Reviewed-by: Julius Werner --- src/commonlib/cbfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commonlib') 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) -- cgit v1.2.3