summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-10-28 15:29:29 -0500
committerRonald G. Minnich <rminnich@gmail.com>2015-10-30 16:08:05 +0100
commit2caf3cbac0b4dd79e024471bebbb93be11f9f0b1 (patch)
tree95192cd9d0a77ec36b4fec9456200a3f5a3b3dd5 /src/mainboard
parent56699948b7537d1abf4bf63d20b45883c5649ae2 (diff)
downloadcoreboot-2caf3cbac0b4dd79e024471bebbb93be11f9f0b1.tar.xz
mainboard/asus/m2n-e|msi/ms9282: Clean up FIDVID mistakes
These two mainboards contained trivial mistakes related to FIDVID that broke build when FIDVID was enabled. Change-Id: Ie7bec77f26ec37eada21308984db4a9fd7a1866f Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: http://review.coreboot.org/12226 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/asus/m2n-e/romstage.c10
-rw-r--r--src/mainboard/msi/ms9282/romstage.c11
2 files changed, 18 insertions, 3 deletions
diff --git a/src/mainboard/asus/m2n-e/romstage.c b/src/mainboard/asus/m2n-e/romstage.c
index 306c124e8b..a221453d7d 100644
--- a/src/mainboard/asus/m2n-e/romstage.c
+++ b/src/mainboard/asus/m2n-e/romstage.c
@@ -65,9 +65,17 @@ static inline int spd_read_byte(unsigned int device, unsigned int address)
#include <southbridge/nvidia/mcp55/early_setup_ss.h>
#include "southbridge/nvidia/mcp55/early_setup_car.c"
#include "cpu/amd/model_fxx/init_cpus.c"
-#include "cpu/amd/model_fxx/fidvid.c"
#include "northbridge/amd/amdk8/early_ht.c"
+/* FIXME
+ * Dummy method to allow build
+ * Determine if this board / CPU should support
+ * FID/VID and implement proper support if so
+ */
+#if IS_ENABLED(CONFIG_SET_FIDVID)
+void init_fidvid_ap(u32 bsp_apicid, u32 apicid) { }
+#endif
+
static void sio_setup(void)
{
u8 byte;
diff --git a/src/mainboard/msi/ms9282/romstage.c b/src/mainboard/msi/ms9282/romstage.c
index f5b75cc26a..b47de73fbc 100644
--- a/src/mainboard/msi/ms9282/romstage.c
+++ b/src/mainboard/msi/ms9282/romstage.c
@@ -81,10 +81,17 @@ static inline int spd_read_byte(unsigned device, unsigned address)
#include "southbridge/nvidia/mcp55/early_setup_car.c"
#include "cpu/amd/model_fxx/init_cpus.c"
-// Disabled until it's actually used:
-// #include "cpu/amd/model_fxx/fidvid.c"
#include "northbridge/amd/amdk8/early_ht.c"
+/* FIXME
+ * Dummy method to allow build
+ * Determine if this board / CPU should support
+ * FID/VID and implement proper support if so
+ */
+#if IS_ENABLED(CONFIG_SET_FIDVID)
+void init_fidvid_ap(u32 bsp_apicid, u32 apicid) { }
+#endif
+
static void sio_setup(void)
{
uint32_t dword;