transport_register() function
Registers a transport. There are general purpose transports (such as JTAG), as well as relatively proprietary ones which are specific to a given chip (or chip family). Code implementing a transport needs to register it before it can be selected and then activated. This is a dynamic process, so that chips (and families) can define transports as needed (without needing error-prone static tables).
Arguments
new_transport
the transport being registered. On a successful return, this memory is owned by the transport framework.
Return value
ERROR_OK on success, else a fault code.