summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2020-12-28 13:01:39 +0200
committerMika Westerberg <mika.westerberg@linux.intel.com>2021-03-18 18:25:32 +0300
commit3231307e399a411db07d7d7927df38c4a4b88353 (patch)
tree30ae8b55f276c1d9938feb98724d0aa0363250ac /lib/mpi/mpiutil.c
parente23a5afd013c15909169c56751f8d7dac67a68eb (diff)
thunderbolt: Add support for USB4 DROM
USB4 router DROM differs sligthly from Thunderbolt 1-3 DROM. For instance it does not include UID and CRC8 in the header section, and it has product descriptor genereric entry to describe the product IDs and related information. If the "Version" field in the DROM header section reads 3 it means the router only has USB4 DROM and if it reads 1 it means the router supports TBT3 compatible DROM. For this reason, update the DROM parsing code to support "pure" USB4 DROMs too. While there drop the extra empty line at the end of tb_drom_read(). Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions