aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/model_15_init.c
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-07-13 11:05:35 -0700
committerMartin Roth <martinroth@google.com>2017-07-16 19:22:33 +0000
commit5998198f0c2dc055b2573ad95f03774e755ca3db (patch)
tree4cce06cff492ca50aefba21f721e9f3ae641f5fa /src/soc/amd/stoneyridge/model_15_init.c
parent99aa6ce053f5122a98713b8353de6b8a72182cad (diff)
soc/amd/stoneyridge:Fix IS_ENABLED() around Kconfig symbol references
- Update files that were added since the IS_ENABLED() fix patches - Remove extra XHCI controller. Change-Id: I7028942ce54b06cd048029f7b93f064beba579ad Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20565 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/amd/stoneyridge/model_15_init.c')
-rw-r--r--src/soc/amd/stoneyridge/model_15_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/stoneyridge/model_15_init.c b/src/soc/amd/stoneyridge/model_15_init.c
index cad06bf0a5..a46f322d14 100644
--- a/src/soc/amd/stoneyridge/model_15_init.c
+++ b/src/soc/amd/stoneyridge/model_15_init.c
@@ -54,7 +54,7 @@ static void model_15_init(device_t dev)
u8 i;
msr_t msr;
int msrno;
-#if CONFIG_LOGICAL_CPUS
+#if IS_ENABLED(CONFIG_LOGICAL_CPUS)
u32 siblings;
#endif
@@ -92,7 +92,7 @@ static void model_15_init(device_t dev)
/* Enable the local CPU APICs */
setup_lapic();
-#if CONFIG_LOGICAL_CPUS
+#if IS_ENABLED(CONFIG_LOGICAL_CPUS)
siblings = cpuid_ecx(0x80000008) & 0xff;
if (siblings > 0) {