summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-07-22 17:46:16 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-07-23 18:03:24 +0000
commit9a98fc9d1d40f5bd58e587f81cdb38a482a0a91f (patch)
tree62dc89df1b73c91b390d4f0256463574bf731198 /src/soc
parentf66e781336e992f0791480bd710ef32b71d4ad52 (diff)
soc/amd/stoneyridge/fch: change sb prefix of sb_clk_output_48Mhz to fch
Stoneyridge has an integrated FCH and no south bridge, so change the sb prefix to fch. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I5154ae1158f864d4a2aca55e6bcce6a742c6afe1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56527 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/stoneyridge/include/soc/southbridge.h2
-rw-r--r--src/soc/amd/stoneyridge/southbridge.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/stoneyridge/include/soc/southbridge.h b/src/soc/amd/stoneyridge/include/soc/southbridge.h
index 224010c24d..97eb806682 100644
--- a/src/soc/amd/stoneyridge/include/soc/southbridge.h
+++ b/src/soc/amd/stoneyridge/include/soc/southbridge.h
@@ -219,7 +219,7 @@ void fch_init(void *chip_info);
void fch_final(void *chip_info);
void enable_aoac_devices(void);
-void sb_clk_output_48Mhz(u32 osc);
+void fch_clk_output_48Mhz(u32 osc);
void sb_read_mode(u32 mode);
void sb_set_spi100(u16 norm, u16 fast, u16 alt, u16 tpm);
diff --git a/src/soc/amd/stoneyridge/southbridge.c b/src/soc/amd/stoneyridge/southbridge.c
index d9dd78fe13..5f5fc72bfc 100644
--- a/src/soc/amd/stoneyridge/southbridge.c
+++ b/src/soc/amd/stoneyridge/southbridge.c
@@ -204,7 +204,7 @@ static void sb_lpc_decode(void)
lpc_enable_decode(tmp);
}
-void sb_clk_output_48Mhz(u32 osc)
+void fch_clk_output_48Mhz(u32 osc)
{
u32 ctrl;