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>
This commit is contained in:
parent
e732773c74
commit
8f7a53a968
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue