diff options
author | Martin Roth <martinroth@google.com> | 2017-06-01 11:39:59 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-07-07 16:05:16 +0000 |
commit | 898a77521de97b1e4af9458b82bcc21bc7a6e799 (patch) | |
tree | 4565d11cc5bbed7729b580424006e1745dc0cfc9 /src/arch/x86/bootblock_simple.c | |
parent | 50bda05e46d5f34f6519a7814e843d1e777ecf10 (diff) | |
download | coreboot-898a77521de97b1e4af9458b82bcc21bc7a6e799.tar.xz |
arch/*: Update Kconfig symbol usage
- Update all symbols to use IS_ENABLED()
- Update non-romcc usage to use 'if' instead of '#if' where it
makes sense.
Change-Id: I5a84414d2d1631e35ac91efb67a0d4c1f673bf85
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20005
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/arch/x86/bootblock_simple.c')
-rw-r--r-- | src/arch/x86/bootblock_simple.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/bootblock_simple.c b/src/arch/x86/bootblock_simple.c index 5df279c370..52c45be43d 100644 --- a/src/arch/x86/bootblock_simple.c +++ b/src/arch/x86/bootblock_simple.c @@ -20,15 +20,15 @@ static void main(unsigned long bist) if (boot_cpu()) { bootblock_mainboard_init(); -#if CONFIG_USE_OPTION_TABLE +#if IS_ENABLED(CONFIG_USE_OPTION_TABLE) sanitize_cmos(); #endif -#if CONFIG_CMOS_POST +#if IS_ENABLED(CONFIG_CMOS_POST) cmos_post_init(); #endif } -#if CONFIG_VBOOT_SEPARATE_VERSTAGE +#if IS_ENABLED(CONFIG_VBOOT_SEPARATE_VERSTAGE) const char *target1 = "fallback/verstage"; #else const char *target1 = "fallback/romstage"; |