summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/spi.h8
-rw-r--r--src/soc/amd/common/block/spi/fch_spi.c2
2 files changed, 1 insertions, 9 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/spi.h b/src/soc/amd/common/block/include/amdblocks/spi.h
index 7da1b24325..a551151d46 100644
--- a/src/soc/amd/common/block/include/amdblocks/spi.h
+++ b/src/soc/amd/common/block/include/amdblocks/spi.h
@@ -88,14 +88,6 @@ struct spi_config {
*/
void fch_spi_early_init(void);
-/*
- * Configure SPI speed and read mode.
- *
- * This function expects SoC to include soc_amd_common_config in chip SoC config and uses
- * settings from mainboard devicetree to configure speed and read mode.
- */
-void fch_spi_config_modes(void);
-
/* Set the SPI base address variable */
void spi_set_base(void *base);
diff --git a/src/soc/amd/common/block/spi/fch_spi.c b/src/soc/amd/common/block/spi/fch_spi.c
index a644d273a1..0351847756 100644
--- a/src/soc/amd/common/block/spi/fch_spi.c
+++ b/src/soc/amd/common/block/spi/fch_spi.c
@@ -49,7 +49,7 @@ static void fch_spi_config_em100_modes(void)
fch_spi_set_spi100(SPI_SPEED_16M, SPI_SPEED_16M, SPI_SPEED_16M, SPI_SPEED_16M);
}
-void fch_spi_config_modes(void)
+static void fch_spi_config_modes(void)
{
if (CONFIG(EM100))
fch_spi_config_em100_modes();