summaryrefslogtreecommitdiffstats
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
parentf66e781336e992f0791480bd710ef32b71d4ad52 (diff)
downloadcoreboot-9a98fc9d1d40f5bd58e587f81cdb38a482a0a91f.tar.gz
coreboot-9a98fc9d1d40f5bd58e587f81cdb38a482a0a91f.tar.bz2
coreboot-9a98fc9d1d40f5bd58e587f81cdb38a482a0a91f.zip
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>
-rw-r--r--src/mainboard/amd/padmelon/bootblock/bootblock.c2
-rw-r--r--src/soc/amd/stoneyridge/include/soc/southbridge.h2
-rw-r--r--src/soc/amd/stoneyridge/southbridge.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/amd/padmelon/bootblock/bootblock.c b/src/mainboard/amd/padmelon/bootblock/bootblock.c
index 13e050d62879..d8c462d17a19 100644
--- a/src/mainboard/amd/padmelon/bootblock/bootblock.c
+++ b/src/mainboard/amd/padmelon/bootblock/bootblock.c
@@ -31,7 +31,7 @@ static void enable_serial(unsigned int base_port, unsigned int io_enable)
void bootblock_mainboard_early_init(void)
{
- sb_clk_output_48Mhz(2);
+ fch_clk_output_48Mhz(2);
/*
* UARTs enabled by default at reset, just need RTS, CTS
* and access to the IO address.
diff --git a/src/soc/amd/stoneyridge/include/soc/southbridge.h b/src/soc/amd/stoneyridge/include/soc/southbridge.h
index 224010c24d31..97eb80668273 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 d9dd78fe13a8..5f5fc72bfcb1 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;