From 56699948b7537d1abf4bf63d20b45883c5649ae2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 28 Oct 2015 14:41:42 -0500 Subject: southbridge/nvidia/ck804: Fix FIDVID build failure on CK804 Change-Id: I74c285ff86993898e0120170cf07f48ef4dc9612 Signed-off-by: Timothy Pearson Reviewed-on: http://review.coreboot.org/12225 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/southbridge/nvidia/ck804/ck804.h | 4 ++++ src/southbridge/nvidia/ck804/early_setup_car.c | 6 ++++++ 2 files changed, 10 insertions(+) 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 -- cgit v1.2.3