From 88d213a63b91c6b0e7f9c33c191177cf22346a3b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 23 Jan 2015 20:28:13 -0600 Subject: 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 Reviewed-on: http://review.coreboot.org/8268 Reviewed-by: Alexandru Gagniuc Tested-by: build bot (Jenkins) --- src/northbridge/amd/amdht/ht_wrapper.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/northbridge/amd') 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 , 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 -- cgit v1.2.3