coreboot/src/include/device
Wilson Chou c8a86954f3 device: Clear lane error status
Refer to PCI Express Base rev6.0 v1.0, 4.2.7 Link Training and Status
State Rules, Lane Error Status is normal to record the error when link
training. To make sure Lane Error Status is correct in OS runtime,
add a Kconfig PCIEXP_LANE_ERR_STAT_CLEAR that clears the PCIe lane error
status register at the end of PCIe link training.

Test=On Crater Lake, lspci -vvv shows
bb:01.0 PCI bridge: Intel Corporation Device 352a (rev 03)
(prog-if 00 [Normal decode])
Capabilities: [a30 v1] Secondary PCI Express
	LnkCtl3: LnkEquIntrruptEn- PerformEqu-
	LaneErrStat: LaneErr at lane: 0

Signed-off-by: Wilson Chou <Wilson.Chou@quantatw.com>
Change-Id: I6344223636409d8fc25e365a6375fc81e69f41a5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67264
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
2022-09-12 12:41:13 +00:00
..
dram device/dram: Add function to convert freq to MT/s for (LP)DDR5 2022-08-25 01:00:44 +00:00
azalia.h
azalia_device.h device/azalia_device: Drop unused function parameter 2021-11-11 22:45:04 +00:00
cardbus.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
device.h pciexp_device: Propagate above-4G flag to all hotplug devices 2022-09-04 16:39:14 +00:00
gpio.h
i2c.h
i2c_bus.h device/i2c_bus: Add routines to read and write multiple bytes 2022-09-04 14:55:59 +00:00
i2c_simple.h include/device/i2c_simple: add i2c_2ba_read_bytes function 2022-04-27 16:07:29 +00:00
mmio.h device/mmio.h: Move readXp/writeXp helpers to device/mmio.h 2022-03-08 08:25:36 +00:00
path.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
pci.h pci_device: Add a function to find PCI capability ID recursively 2022-08-07 19:41:38 +00:00
pci_def.h device: Clear lane error status 2022-09-12 12:41:13 +00:00
pci_ehci.h
pci_ids.h soc/intel/common/smbus: Add missing ID for GLK 2022-09-08 15:33:35 +00:00
pci_mmio_cfg.h pci_mmio_cfg: Rename pcicfg to pci_map_bus 2021-11-29 03:20:54 +00:00
pci_ops.h
pci_rom.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
pci_type.h
pciexp.h pciexp_device: Introduce pciexp_find_ext_vendor_cap() 2022-08-17 16:29:39 +00:00
pcix.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
pnp.h include: Add SPDX identifiers to files missing them 2022-08-11 17:53:11 +00:00
pnp_def.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
pnp_ops.h
pnp_type.h
resource.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
smbus.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
smbus_def.h include: Add SPDX-License-Identifiers to files missing them 2022-08-01 13:59:11 +00:00
smbus_host.h
soundwire.h
spi.h
usbc_mux.h device/include: Fix potential build error 2021-11-03 08:24:15 +00:00
xhci.h