libxhcidbg.git
5 years agoAdd Muen component build infrastructure
Adrian-Ken Rueegsegger [Fri, 5 May 2017 16:55:21 +0000 (18:55 +0200)]
Add Muen component build infrastructure

Signed-off-by: Adrian-Ken Rueegsegger <ken@codelabs.ch>
5 years agoReplace array assignment with for loop
Adrian-Ken Rueegsegger [Fri, 5 May 2017 16:55:11 +0000 (18:55 +0200)]
Replace array assignment with for loop

This removes calls to memmove which is not supported by the Muen
zero-footprint runtime.

Signed-off-by: Adrian-Ken Rueegsegger <ken@codelabs.ch>
5 years agoDo not perform hardware reset
Adrian-Ken Rueegsegger [Wed, 10 May 2017 11:59:47 +0000 (13:59 +0200)]
Do not perform hardware reset

The debug capability interface is independent from the "regular"
xHCI interface, so a hardware reset is not necessary. This simplifies
the initialization and triggering potential issues if the reset timeout
is too small for a given hardware platform.

Signed-off-by: Adrian-Ken Rueegsegger <ken@codelabs.ch>
5 years agoREADME: Add remark regarding USB charging mode
Adrian-Ken Rueegsegger [Wed, 10 May 2017 12:20:54 +0000 (14:20 +0200)]
README: Add remark regarding USB charging mode

Signed-off-by: Adrian-Ken Rueegsegger <ken@codelabs.ch>
5 years agoMinor: Avoid null else branch
Adrian-Ken Rueegsegger [Wed, 10 May 2017 12:07:51 +0000 (14:07 +0200)]
Minor: Avoid null else branch

Use conditional pragma Debug to avoid an else branch which is only
necessary for debug output.

Signed-off-by: Adrian-Ken Rueegsegger <ken@codelabs.ch>
5 years agoInitial import of libxhcidbg library
Nico Huber [Fri, 5 May 2017 16:43:12 +0000 (18:43 +0200)]
Initial import of libxhcidbg library

This libxhcidbg library implements support for the xHCI debug capability
as specified in "eXtensible Host Controller Interface for Universal
Serial Bus (xHCI)", revision 1.1, section 7.6.

Signed-off-by: Nico Huber <nico.huber@secunet.com>