diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-07-22 17:46:16 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-07-23 18:03:24 +0000 |
commit | 9a98fc9d1d40f5bd58e587f81cdb38a482a0a91f (patch) | |
tree | 62dc89df1b73c91b390d4f0256463574bf731198 | |
parent | f66e781336e992f0791480bd710ef32b71d4ad52 (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>
-rw-r--r-- | src/mainboard/amd/padmelon/bootblock/bootblock.c | 2 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/include/soc/southbridge.h | 2 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/southbridge.c | 2 |
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 13e050d628..d8c462d17a 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 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; |