Skip to content
Commit 0586d393 authored by James Clark's avatar James Clark
Browse files

coresight: Make refcount a property of the connection



This removes the need to do an additional lookup for the total number
of ports used and also removes the need to allocate an array of
refcounts which is just another representation of a connection array.

This was only used for link type devices, for regular devices a single
refcount on the coresight device is used.

There is a both an input and output refcount in case two link type
devices are connected together so that they don't overwrite each other's
counts.

Signed-off-by: James Clark's avatarJames Clark <james.clark@arm.com>
parent c8492308
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment