aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/amd/pi/00630F01
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-06-24 14:45:48 -0600
committerMartin Roth <martinroth@google.com>2017-07-08 19:01:19 +0000
commit77a58b92e8d44d17b9aa06710ed728a697722b4a (patch)
treecd934fee0c39aa741bbad7112375877e3b05e9e8 /src/northbridge/amd/pi/00630F01
parent3c35ad90534d4aebd6d9723e4614efb6af01f45c (diff)
nb/amd: add IS_ENABLED() around Kconfig symbol references
Some of these can be changed from #if to if(), but that will happen in a follow-on commmit. Change-Id: I763cbbc31dcd4cdd128c04793a742ab6daaf5f0c Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20345 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/northbridge/amd/pi/00630F01')
-rw-r--r--src/northbridge/amd/pi/00630F01/northbridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/amd/pi/00630F01/northbridge.c b/src/northbridge/amd/pi/00630F01/northbridge.c
index 5ba0e44ff3..96d30e901e 100644
--- a/src/northbridge/amd/pi/00630F01/northbridge.c
+++ b/src/northbridge/amd/pi/00630F01/northbridge.c
@@ -46,7 +46,7 @@
#define MAX_NODE_NUMS (MAX_NODES * MAX_DIES)
-#if (defined CONFIG_EXT_CONF_SUPPORT) && CONFIG_EXT_CONF_SUPPORT == 1
+#if IS_ENABLED(CONFIG_EXT_CONF_SUPPORT)
#error CONFIG_EXT_CONF_SUPPORT == 1 not support anymore!
#endif