thunderbolt: Provide tb_retimer_nvm_read() analogous to tb_switch_nvm_read()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Sat, 3 Sep 2022 07:43:25 +0000 (10:43 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 7 Sep 2022 06:06:51 +0000 (09:06 +0300)
commit8b02b2da77c89d9b9031f522e50af9eb2270585a
treeddea9f9efcbfbc51209e7d2ea8cc3af6886be43b
parent7bfafaa5185be3088e57f046956d6db0155ddc17
thunderbolt: Provide tb_retimer_nvm_read() analogous to tb_switch_nvm_read()

As we are moving the NVM vendor specifics into nvm.c we need to deal
witht he retimer NVM formats too. For this reason provide retimer
specific function that can be used to read the contents of the NVM and
rename the internal ones accordingly analogous to what we do with
routers.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/retimer.c
drivers/thunderbolt/tb.h