diff options
author | Subrata Banik <subratabanik@google.com> | 2022-08-17 14:35:31 +0000 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2022-08-18 07:17:35 +0000 |
commit | c6d6f60bc4fb073ad93774e0c07bc4d14f5e7199 (patch) | |
tree | 6ac2f2e7701467034482ffb7e1ba46a93dadad7d /src/soc | |
parent | 054620dcdc4d9bda47b245ad58d2c6c5f8f79e86 (diff) |
Revert "soc/intel/meteorlake: Provide access to IOE through P2SB SBI for TCSS"
This reverts commit eb80b1efa36c99e485b2604e913c2aa316168eea.
Reason for revert: Results into hard hang with serial debug msg inside FSP-S.
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I8e7cf804828da8939f591eb0770c8daf830c8d94
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66304
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Reviewed-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/meteorlake/chip.c | 10 | ||||
-rw-r--r-- | src/soc/intel/meteorlake/chip.h | 2 | ||||
-rw-r--r-- | src/soc/intel/meteorlake/fsp_params.c | 3 | ||||
-rw-r--r-- | src/soc/intel/meteorlake/tcss.c | 11 |
4 files changed, 4 insertions, 22 deletions
diff --git a/src/soc/intel/meteorlake/chip.c b/src/soc/intel/meteorlake/chip.c index f6e1d24725..5b62c069da 100644 --- a/src/soc/intel/meteorlake/chip.c +++ b/src/soc/intel/meteorlake/chip.c @@ -8,20 +8,16 @@ #include <intelblocks/cfg.h> #include <intelblocks/gpio.h> #include <intelblocks/itss.h> -#include <intelblocks/p2sb.h> #include <intelblocks/pcie_rp.h> #include <intelblocks/systemagent.h> -#include <intelblocks/tcss.h> #include <intelblocks/xdci.h> #include <soc/intel/common/vbt.h> -#include <soc/iomap.h> #include <soc/itss.h> #include <soc/p2sb.h> #include <soc/pci_devs.h> #include <soc/pcie.h> #include <soc/ramstage.h> #include <soc/soc_chip.h> -#include <soc/tcss.h> #if CONFIG(HAVE_ACPI_TABLES) const char *soc_acpi_name(const struct device *dev) @@ -133,12 +129,6 @@ static void soc_fill_gpio_pm_configuration(void) void soc_init_pre_device(void *chip_info) { - config_t *config = config_of_soc(); - - /* Validate TBT image authentication */ - config->tbt_authentication = ioe_p2sb_sbi_read(PID_IOM, - IOM_CSME_IMR_TBT_STATUS) & TBT_VALID_AUTHENTICATION; - /* Perform silicon specific init. */ fsp_silicon_init(); diff --git a/src/soc/intel/meteorlake/chip.h b/src/soc/intel/meteorlake/chip.h index 04b8299b2d..05d77f3d1c 100644 --- a/src/soc/intel/meteorlake/chip.h +++ b/src/soc/intel/meteorlake/chip.h @@ -126,8 +126,6 @@ struct soc_intel_meteorlake_config { /* Program OC pins for TCSS */ struct tcss_port_config tcss_ports[MAX_TYPE_C_PORTS]; uint8_t tbt_pcie_port_disable[4]; - /* Validate TBT firmware authenticated and loaded into IMR */ - bool tbt_authentication; /* SATA related */ uint8_t sata_mode; diff --git a/src/soc/intel/meteorlake/fsp_params.c b/src/soc/intel/meteorlake/fsp_params.c index ff17a35a36..3ca6c52da6 100644 --- a/src/soc/intel/meteorlake/fsp_params.c +++ b/src/soc/intel/meteorlake/fsp_params.c @@ -14,8 +14,8 @@ #include <intelblocks/lpss.h> #include <intelblocks/xdci.h> #include <intelpch/lockdown.h> +#include <intelblocks/tcss.h> #include <security/vboot/vboot_common.h> -#include <soc/cpu.h> #include <soc/gpio_soc_defs.h> #include <soc/intel/common/vbt.h> #include <soc/pci_devs.h> @@ -23,6 +23,7 @@ #include <soc/ramstage.h> #include <soc/soc_chip.h> #include <soc/soc_info.h> +#include <soc/cpu.h> #include <string.h> /* THC assignment definition */ diff --git a/src/soc/intel/meteorlake/tcss.c b/src/soc/intel/meteorlake/tcss.c index 7509504eea..c51fe6c41f 100644 --- a/src/soc/intel/meteorlake/tcss.c +++ b/src/soc/intel/meteorlake/tcss.c @@ -1,15 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <intelblocks/tcss.h> -#include <soc/soc_chip.h> const struct soc_tcss_ops tcss_ops = { - .configure_aux_bias_pads = ioe_tcss_configure_aux_bias_pads_sbi, - .valid_tbt_auth = ioe_tcss_valid_tbt_auth, + .configure_aux_bias_pads = tcss_configure_aux_bias_pads_regbar, + .valid_tbt_auth = tcss_valid_tbt_auth, }; - -bool ioe_tcss_valid_tbt_auth(void) -{ - const config_t *config = config_of_soc(); - return config->tbt_authentication; -} |