coreboot-kgpe-d16/src
Nick Vaccaro a62b41819c coreboot tables: Add type-c port info to coreboot table
This change adds type-c port information for USB Type-C ports to the
coreboot table.  This allows depthcharge to know the usb2 and usb3
port number assignments for each available port, as well as the SBU
and data line orientation for the board.

BUG=b:149830546
TEST='emerge-volteer coreboot chromeos-bootimage' and verify it builds
successfully.  Cherry-pick CL to enable this feature for volteer,
flash and boot volteer2 to kernel, log in and check cbmem for type-c
info exported to the payload:
  localhost ~ # cbmem -c | grep type-c
  added type-c port0 info to cbmem: usb2:9 usb3:1 sbu:0 data:0
  added type-c port1 info to cbmem: usb2:4 usb3:2 sbu:1 data:0

Signed-off-by: Nick Vaccaro <nvaccaro@google.com>
Change-Id: Ice732be2fa634dbf31ec620552b383c4a5b41451
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57069
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
2021-10-04 17:12:48 +00:00
..
acpi acpi/acpigen_dptf: Add TPCH participant for dptf 2021-10-01 18:34:55 +00:00
arch arch/arm64: Remove unnecessary interfaces 2021-10-01 00:02:06 +00:00
commonlib coreboot tables: Add type-c port info to coreboot table 2021-10-04 17:12:48 +00:00
console console: Remove asmlinkage from console_init 2021-09-17 23:52:02 +00:00
cpu arch/x86,cpu/x86: Disable the %gs and %fs segments 2021-09-29 14:12:58 +00:00
device device: Drop unused function `dev_find_matching_device_on_bus` 2021-09-24 21:20:07 +00:00
drivers drivers/gic: Remove unnecessary code 2021-10-01 00:01:56 +00:00
ec ec/purism: Remove copied code from system76 2021-09-27 13:59:02 +00:00
include acpi/acpigen_dptf: Add TPCH participant for dptf 2021-10-01 18:34:55 +00:00
lib coreboot tables: Add type-c port info to coreboot table 2021-10-04 17:12:48 +00:00
mainboard mb/google/brya/variants/kano: Correct MIPI camera info 2021-10-04 07:59:31 +00:00
northbridge
security security/intel/txt/romstage: add missing arch/cpu.h include 2021-09-17 20:28:19 +00:00
soc soc/intel/common: round PM Timer emulation frequency multiplier 2021-10-02 21:00:42 +00:00
southbridge {sb,soc}/intel: Drop unused globalnvs.asl methods 2021-09-29 10:04:44 +00:00
superio superio/nuvoton/nct6776: Correct the definition of NCT6776_GPIOBASE 2021-08-29 16:41:12 +00:00
vendorcode vc/mediatek/mt8195: Remove unused code 2021-09-29 06:57:06 +00:00
Kconfig util/kconfig: Add pre-built parser 2021-09-13 15:35:03 +00:00