]> git.proxmox.com Git - mirror_edk2.git/commit
SourceLevelDebugPkg/DebugCommunicationLibUsb: Add endpoint config.
authorMarvin H?user <Marvin.Haeuser@outlook.com>
Sat, 16 Jun 2018 16:16:24 +0000 (00:16 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 19 Jun 2018 01:23:49 +0000 (09:23 +0800)
commit73ae70db0f7a2ccada149e9dd03fda30923fdd75
treed1435f5233d8e9182b5808a758c7b4d06ece0fcf
parent87a46244723ad8ddce2fcf611e569ada86dc80f2
SourceLevelDebugPkg/DebugCommunicationLibUsb: Add endpoint config.

Currently, DebugCommunicationLibUsb uses the hardcoded endpoints 0x82
and 0x01 to communicate with the EHCI Debug Device. These, however,
are not standardized and may vary across different hardware.
To solve this problem, the endpoints are retrieved from the
USB Device Descriptor directly.

V2:
  - Store endpoint data in the USB Debug Port handle structure.

V3:
  - Remove the static endpoint PCDs as requested.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.c
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.inf