summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdht
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-01-23 20:28:13 -0600
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2015-01-27 08:04:26 +0100
commit88d213a63b91c6b0e7f9c33c191177cf22346a3b (patch)
tree0a4f7306e8a89e365b730019fa1c5f54bc1e430d /src/northbridge/amd/amdht
parent367fe8cac11fad14c91fcca1af6f3610c33e1b63 (diff)
amd/amdht: Compile in multiprocessor support when selected
Fix multiprocessor support not being compiled in when selected via Kconfig on AMD systems. Change-Id: I44c22f2e11096247285b0fb469ccf51963eace2b Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: http://review.coreboot.org/8268 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/northbridge/amd/amdht')
-rw-r--r--src/northbridge/amd/amdht/ht_wrapper.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/northbridge/amd/amdht/ht_wrapper.c b/src/northbridge/amd/amdht/ht_wrapper.c
index 57424948b4..3bf81c6bc4 100644
--- a/src/northbridge/amd/amdht/ht_wrapper.c
+++ b/src/northbridge/amd/amdht/ht_wrapper.c
@@ -1,6 +1,7 @@
/*
* This file is part of the coreboot project.
*
+ * Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
* Copyright (C) 2007-2008 Advanced Micro Devices, Inc.
*
* This program is free software; you can redistribute it and/or modify
@@ -28,7 +29,11 @@
*/
/* Single CPU system? */
-#if CONFIG_MAX_PHYSICAL_CPUS
+#if (CONFIG_MAX_PHYSICAL_CPUS == 1)
+ /* FIXME
+ * This #define is used by other #included .c files
+ * When set, multiprocessor support is completely disabled
+ */
#define HT_BUILD_NC_ONLY 1
#endif