From 13b8158672d7a6509633d77e753e865db2fe09ef Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Sat, 9 May 2020 17:24:42 -0700 Subject: soc/amd/picasso: Use SPI configuration support from common block SPI driver This change switches to using the common block SPI driver for performing early SPI initialization and for re-configuring SPI speed and mode after FSP-S has run. Signed-off-by: Furquan Shaikh Change-Id: Ia3186ce59b66c2f44522a94fa52659b4942649b1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41250 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Raul Rangel --- src/soc/amd/picasso/chip.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/soc/amd/picasso/chip.h') diff --git a/src/soc/amd/picasso/chip.h b/src/soc/amd/picasso/chip.h index 2b9ef3c37a..8d4e0d3875 100644 --- a/src/soc/amd/picasso/chip.h +++ b/src/soc/amd/picasso/chip.h @@ -73,21 +73,6 @@ struct soc_amd_picasso_config { uint8_t min_soc_vid_offset; uint8_t aclk_dpm0_freq_400MHz; - /* - * SPI config - * Default values if not overridden by mainboard: - * Read mode - Normal 33MHz - * Normal speed - 66MHz - * Fast speed - 66MHz - * Alt speed - 66MHz - * TPM speed - 66MHz - */ - enum spi_read_mode spi_read_mode; - enum spi100_speed spi_normal_speed; - enum spi100_speed spi_fast_speed; - enum spi100_speed spi_altio_speed; - enum spi100_speed spi_tpm_speed; - enum { SD_EMMC_DISABLE, SD_EMMC_SD_LOW_SPEED, -- cgit v1.2.3