sb/intel/bd82x6x/early_usb: Add USB TX/RX gains
commita48debdaa0124c57bef67c9ac90e955e69671d56
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Tue, 31 Oct 2023 15:50:05 +0000 (31 16:50 +0100)
committerLean Sheng Tan <sheng.tan@9elements.com>
Mon, 15 Jan 2024 09:34:33 +0000 (15 09:34 +0000)
treef173f31da6fd609978a043acd7dbb698bd0550fa
parentd323d844f743e2876e404cf13ddd32a1bd050715
sb/intel/bd82x6x/early_usb: Add USB TX/RX gains

Describe the USB 'current' settings based on MRC.bin that converts
the USB trace length to a predefined register value.
MRC.bin decides which setting to use based on the PC type, mobile
or desktop, and the trace length.

Tested: Lenovo X220 still boots.

Change-Id: I79d35ca16818daec03ee7f464349a4c8ee0f78e4
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78829
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
src/southbridge/intel/bd82x6x/early_usb.c
src/southbridge/intel/bd82x6x/pch.h