From c4e49f62621429a363b092d1a6df11d2cf380465 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 11 Jul 2015 13:42:54 -0600 Subject: Change #ifdef and #if defined CONFIG_ bools to #if IS_ENABLED() Kconfigs symbols of type bool are always defined, and can be tested with the IS_ENABLED() macro. symbol type except string. Change-Id: Ic4ba79f519ee2a53d39c10859bbfa9c32015b19d Signed-off-by: Martin Roth Reviewed-on: http://review.coreboot.org/10885 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/southbridge/intel/i82801ix/i82801ix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/southbridge') diff --git a/src/southbridge/intel/i82801ix/i82801ix.h b/src/southbridge/intel/i82801ix/i82801ix.h index adf81cc81a..1793eadd65 100644 --- a/src/southbridge/intel/i82801ix/i82801ix.h +++ b/src/southbridge/intel/i82801ix/i82801ix.h @@ -35,7 +35,7 @@ #define DEFAULT_RCBA 0xfed1c000 #endif -#ifdef CONFIG_BOARD_EMULATION_QEMU_X86_Q35 +#if IS_ENABLED(CONFIG_BOARD_EMULATION_QEMU_X86_Q35) /* * Qemu has the fw_cfg interface at 0x510. Move the pmbase to a * non-conflicting address. No need to worry about speedstep, it -- cgit v1.2.3