mb/google/guybrush: Update PCIe WWAN path for WWAN PCIe check
variant_has_pcie_wwan() was always coming back as disabled because find_dev_nested_path() couldn't find the device until the domain was added to the array. BUG=b:193036827 TEST=Boot guybrush with PCIe & USB WWAN devices. Signed-off-by: Martin Roth <martinroth@chromium.org> Change-Id: Id94fa0b0ff5c29fa447e869220d27ccfe61438c6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57315 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
parent
cd8267b69c
commit
349f13071d
|
@ -34,9 +34,13 @@ __weak bool variant_has_fpmcu(void)
|
||||||
__weak bool variant_has_pcie_wwan(void)
|
__weak bool variant_has_pcie_wwan(void)
|
||||||
{
|
{
|
||||||
static const struct device_path pcie_wwan_path[] = {
|
static const struct device_path pcie_wwan_path[] = {
|
||||||
|
{
|
||||||
|
.type = DEVICE_PATH_DOMAIN,
|
||||||
|
.domain.domain = 0x0,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.type = DEVICE_PATH_PCI,
|
.type = DEVICE_PATH_PCI,
|
||||||
.pci.devfn = PCIE_GPP_2_2_DEVFN,
|
.pci.devfn = WWAN_DEVFN
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue