As xHCI ports 1-4 and OC pins 0-3 are all shared with EHCI, xhci_overcurrent_mapping should never deviate from the USB 2 (EHCI) overcurrent mapping specified in the USB port config in the devicetree. Get the mapping from EHCI and free mainboards from specifying it separately. A Ghidra inspection of MRC binary indicates it is doing the same. After this patch xhci_overcurrent_mapping becomes redundant and will be removed in a follow-up. Change-Id: Iab30a07c8df223e4053c5f28df5e5ed926f278f7 Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85922 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> |
||
|---|---|---|
| .. | ||
| amd | ||
| intel | ||
| ricoh/rl5c476 | ||
| ti | ||