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>
This commit is contained in:
Timothy Pearson 2015-10-28 14:41:42 -05:00 committed by Ronald G. Minnich
parent c6cd5d4ed5
commit 56699948b7
2 changed files with 10 additions and 0 deletions

View File

@ -35,4 +35,8 @@
#define CK804B_SYSCTRL_IO_BASE (SYSCTRL_IO_BASE + 0x8000) #define CK804B_SYSCTRL_IO_BASE (SYSCTRL_IO_BASE + 0x8000)
#endif #endif
#ifdef __PRE_RAM__
void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn);
#endif
#endif #endif

View File

@ -378,3 +378,9 @@ void soft_reset(void)
outb(0x02, 0x0cf9); outb(0x02, 0x0cf9);
outb(0x06, 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. */
}