From a754aa6d29f2078cffac6559a9efca6f9ce862ac Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 22 Jul 2021 17:34:28 +0200 Subject: soc/amd/picasso/fch: make sb_clk_output_48Mhz static sb_clk_output_48Mhz is only used in fch.c where it is also implemented, so no need to have it visible outside of that compilation unit. Signed-off-by: Felix Held Change-Id: I2b0d10ff26bdf54ea791aa66bf400578466d54cf Reviewed-on: https://review.coreboot.org/c/coreboot/+/56525 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/soc/amd/picasso/fch.c | 2 +- src/soc/amd/picasso/include/soc/southbridge.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/soc/amd') diff --git a/src/soc/amd/picasso/fch.c b/src/soc/amd/picasso/fch.c index dcae1adff6..58a5ce9165 100644 --- a/src/soc/amd/picasso/fch.c +++ b/src/soc/amd/picasso/fch.c @@ -86,7 +86,7 @@ const struct irq_idx_name *sb_get_apic_reg_association(size_t *size) return irq_association; } -void sb_clk_output_48Mhz(void) +static void sb_clk_output_48Mhz(void) { u32 ctrl; const struct soc_amd_picasso_config *cfg = config_of_soc(); diff --git a/src/soc/amd/picasso/include/soc/southbridge.h b/src/soc/amd/picasso/include/soc/southbridge.h index 1a0456dade..2cc1c62bb3 100644 --- a/src/soc/amd/picasso/include/soc/southbridge.h +++ b/src/soc/amd/picasso/include/soc/southbridge.h @@ -151,7 +151,6 @@ void fch_final(void *chip_info); void enable_aoac_devices(void); void wait_for_aoac_enabled(unsigned int dev); -void sb_clk_output_48Mhz(void); /* Allow the board to change the default I2C pad configuration */ void mainboard_i2c_override(int bus, uint32_t *pad_settings); -- cgit v1.2.3