From b5af064f5493b6959d74dfbd948a4666d2a5cdc2 Mon Sep 17 00:00:00 2001 From: Shelley Chen Date: Wed, 16 Nov 2022 16:59:27 -0800 Subject: mb/google/herobrine: Implement mainboard_needs_pcie_init Implement mainboard_needs_pcie_init() for herobrine in order to determine if we need to initialize the pcie links. When the SKU id is unknown or unprovisioned (for example at the beginning of the factory flow), we should still initialize PCIe. Otherwise the devices with NVMe will fail to boot. BUG=b:254281839 BRANCH=None TEST=emerge-herobrine coreboot Change-Id: I8972424f0c5d082165c185ab52a638e8b134064c Signed-off-by: Shelley Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/69689 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/soc/qualcomm/common/include/soc/pcie.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc') diff --git a/src/soc/qualcomm/common/include/soc/pcie.h b/src/soc/qualcomm/common/include/soc/pcie.h index 09ea6712dc..b2f9e45a3d 100644 --- a/src/soc/qualcomm/common/include/soc/pcie.h +++ b/src/soc/qualcomm/common/include/soc/pcie.h @@ -221,5 +221,6 @@ void gcom_pcie_power_on_ep(void); void gcom_pcie_get_config(struct qcom_pcie_cntlr_t *host_cfg); void qcom_pci_domain_read_resources(struct device *dev); void qcom_setup_pcie_host(struct device *dev); +bool mainboard_needs_pcie_init(void); #endif -- cgit v1.2.3