diff mbox series

[v2,15/20] thunderbolt: Increase NVM_MAX_SIZE to support Intel Barlow Ridge controller

Message ID 20230612082145.62218-16-mika.westerberg@linux.intel.com
State New
Headers show
Series thunderbolt: Initial USB4 v2 support | expand

Commit Message

Mika Westerberg June 12, 2023, 8:21 a.m. UTC
From: Gil Fine <gil.fine@linux.intel.com>

Intel Barlow Ridge discrete USB4 controller has larger NOR Flash, hence
increase NVM_MAX_SIZE to support it.

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/thunderbolt/nvm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/thunderbolt/nvm.c b/drivers/thunderbolt/nvm.c
index b004f29ad2b6..69fb3b0fa34f 100644
--- a/drivers/thunderbolt/nvm.c
+++ b/drivers/thunderbolt/nvm.c
@@ -13,7 +13,7 @@ 
 #include "tb.h"
 
 #define NVM_MIN_SIZE		SZ_32K
-#define NVM_MAX_SIZE		SZ_512K
+#define NVM_MAX_SIZE		SZ_1M
 #define NVM_DATA_DWORDS		16
 
 /* Intel specific NVM offsets */