thunderbolt: Split common NVM functionality into a separate file
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 5 Mar 2020 09:37:15 +0000 (11:37 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 22 Jun 2020 16:58:32 +0000 (19:58 +0300)
commit719a5fe87ecd71d140c3ef76d855c70f82893411
treea6da267df90ca89476e0bf19876465f994ad5918
parent83d1703634c469e427f8648418105d6521e8f7de
thunderbolt: Split common NVM functionality into a separate file

We are going to reuse some of this functionality to implement retimer
NVM upgrade so move common NVM functionality into its own file. We also
rename the structure from tb_switch_nvm to tb_nvm to make it clear that
it is not just for switches.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/Makefile
drivers/thunderbolt/domain.c
drivers/thunderbolt/nvm.c [new file with mode: 0644]
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h