thunderbolt: Move constants related to NVM into nvm.c
authorGil Fine <gil.fine@linux.intel.com>
Thu, 11 May 2023 08:19:19 +0000 (11:19 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 16 Jun 2023 06:53:28 +0000 (09:53 +0300)
commit7c81a578cbd1124265c07895395f0a5f30fab5d1
tree03bed58c23e96e65b55ba6dc0f71204a59eca346
parentf2bfa944080dcbb8eb56259dfd2c07204cbee17e
thunderbolt: Move constants related to NVM into nvm.c

Move constants related to NVM into nvm.c to make the code cleaner. Use a
separate constant for USB4_DATA_DWORDS in usb4.c.

No functional changes.

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/nvm.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/usb4.c