summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-10-28 14:41:42 -0500
committerRonald G. Minnich <rminnich@gmail.com>2015-10-30 16:07:04 +0100
commit56699948b7537d1abf4bf63d20b45883c5649ae2 (patch)
tree850b01ad1205b66f31c69d86bb9b959c35df3f1e
parentc6cd5d4ed50a95656ec2eb0e68242e43859b578c (diff)
southbridge/nvidia/ck804: Fix FIDVID build failure on CK804
Change-Id: I74c285ff86993898e0120170cf07f48ef4dc9612 Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: http://review.coreboot.org/12225 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r--src/southbridge/nvidia/ck804/ck804.h4
-rw-r--r--src/southbridge/nvidia/ck804/early_setup_car.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/src/southbridge/nvidia/ck804/ck804.h b/src/southbridge/nvidia/ck804/ck804.h
index 3da18f475a..e6641ea86d 100644
--- a/src/southbridge/nvidia/ck804/ck804.h
+++ b/src/southbridge/nvidia/ck804/ck804.h
@@ -35,4 +35,8 @@
#define CK804B_SYSCTRL_IO_BASE (SYSCTRL_IO_BASE + 0x8000)
#endif
+#ifdef __PRE_RAM__
+void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn);
+#endif
+
#endif
diff --git a/src/southbridge/nvidia/ck804/early_setup_car.c b/src/southbridge/nvidia/ck804/early_setup_car.c
index d8121462b5..32943db3d5 100644
--- a/src/southbridge/nvidia/ck804/early_setup_car.c
+++ b/src/southbridge/nvidia/ck804/early_setup_car.c
@@ -378,3 +378,9 @@ void soft_reset(void)
outb(0x02, 0x0cf9);
outb(0x06, 0x0cf9);
}
+
+void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn)
+{
+ /* The default value for CK804 is good. */
+ /* Set VFSMAF (VID/FID System Management Action Field) to 2. */
+} \ No newline at end of file