diff options
author | Martin Roth <martinroth@google.com> | 2017-06-24 21:45:13 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-07-06 00:19:48 +0000 |
commit | f95911ad3765c0f94db241b0c95a6c0a8c608077 (patch) | |
tree | 9ba34618cff9bbc021348458468d1de0feeaa4b2 /src/mainboard/asus/kfsn4-dre_k8 | |
parent | 1bf55b4070bef2be8259f3153cade27121127b4a (diff) |
mainboard/[a-e]: add IS_ENABLED() around Kconfig symbol references
Change-Id: Icca8bac5e67f83dfc5a8f5ef1cb87c6432e0a236
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20342
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/asus/kfsn4-dre_k8')
-rw-r--r-- | src/mainboard/asus/kfsn4-dre_k8/bootblock.c | 2 | ||||
-rw-r--r-- | src/mainboard/asus/kfsn4-dre_k8/get_bus_conf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/asus/kfsn4-dre_k8/bootblock.c b/src/mainboard/asus/kfsn4-dre_k8/bootblock.c index b25b34f1a4..454443f370 100644 --- a/src/mainboard/asus/kfsn4-dre_k8/bootblock.c +++ b/src/mainboard/asus/kfsn4-dre_k8/bootblock.c @@ -62,7 +62,7 @@ void bootblock_mainboard_init(void) recovery_enabled = bootblock_read_recovery_jumper(GPIO_DEV); if (recovery_enabled) { -#if CONFIG_USE_OPTION_TABLE +#if IS_ENABLED(CONFIG_USE_OPTION_TABLE) /* Clear NVRAM checksum */ for (addr = LB_CKS_RANGE_START; addr <= LB_CKS_RANGE_END; addr++) { cmos_write(0x0, addr); diff --git a/src/mainboard/asus/kfsn4-dre_k8/get_bus_conf.c b/src/mainboard/asus/kfsn4-dre_k8/get_bus_conf.c index 101997adcc..6548d47f67 100644 --- a/src/mainboard/asus/kfsn4-dre_k8/get_bus_conf.c +++ b/src/mainboard/asus/kfsn4-dre_k8/get_bus_conf.c @@ -24,7 +24,7 @@ #include <string.h> #include <stdint.h> #include <stdlib.h> -#if CONFIG_LOGICAL_CPUS +#if IS_ENABLED(CONFIG_LOGICAL_CPUS) #include <cpu/amd/multicore.h> #endif #include <stdlib.h> |