From 65822a5222457d9c53a2bf1822c9e3586e700c04 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 25 Jun 2017 11:49:10 -0600 Subject: src/vendorcode: add IS_ENABLED() around Kconfig symbol references Change-Id: I891cb4f799aaafcf4a0dd91b5533d2f8db7f3d61 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20357 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/vendorcode/amd/agesa/f10/Include/Ids.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vendorcode/amd/agesa/f10') diff --git a/src/vendorcode/amd/agesa/f10/Include/Ids.h b/src/vendorcode/amd/agesa/f10/Include/Ids.h index 2607b3dd43..df3ddc0d16 100644 --- a/src/vendorcode/amd/agesa/f10/Include/Ids.h +++ b/src/vendorcode/amd/agesa/f10/Include/Ids.h @@ -400,7 +400,7 @@ typedef enum { //vv- for debug reference only #define IDS_HDT_CONSOLE_INIT(x) #define IDS_HDT_CONSOLE_EXIT(x) #ifdef __GNUC__ - #if CONFIG_REDIRECT_IDS_HDT_CONSOLE_TO_SERIAL + #if IS_ENABLED(CONFIG_REDIRECT_IDS_HDT_CONSOLE_TO_SERIAL) #define IDS_HDT_CONSOLE(s, args...) do_printk(BIOS_DEBUG, s, ##args) ///#define IDS_HDT_CONSOLE(f, s, args...) printk(((MEM_FLOW) - (f) + (BIOS_DEBUG)), s, ##args) #else -- cgit v1.2.3