summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/southbridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/picasso/southbridge.c')
-rw-r--r--src/soc/amd/picasso/southbridge.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/soc/amd/picasso/southbridge.c b/src/soc/amd/picasso/southbridge.c
index edbcb60b5f..f3424497c4 100644
--- a/src/soc/amd/picasso/southbridge.c
+++ b/src/soc/amd/picasso/southbridge.c
@@ -113,20 +113,6 @@ void sb_clk_output_48Mhz(void)
misc_write32(MISC_CLK_CNTL1, ctrl);
}
-static void fch_smbus_init(void)
-{
- /* 400 kHz smbus speed. */
- const uint8_t smbus_speed = (66000000 / (400000 * 4));
-
- pm_write8(SMB_ASF_IO_BASE, SMB_BASE_ADDR >> 8);
- smbus_write8(SMBTIMING, smbus_speed);
- /* Clear all SMBUS status bits */
- smbus_write8(SMBHSTSTAT, SMBHST_STAT_CLEAR);
- smbus_write8(SMBSLVSTAT, SMBSLV_STAT_CLEAR);
- asf_write8(SMBHSTSTAT, SMBHST_STAT_CLEAR);
- asf_write8(SMBSLVSTAT, SMBSLV_STAT_CLEAR);
-}
-
static void lpc_configure_decodes(void)
{
if (CONFIG(POST_IO) && (CONFIG_POST_IO_PORT == 0x80))