diff options
Diffstat (limited to 'drivers/net/sfc/falcon_hwdefs.h')
-rw-r--r-- | drivers/net/sfc/falcon_hwdefs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/falcon_hwdefs.h b/drivers/net/sfc/falcon_hwdefs.h index 7c784f71f185..a3260dfb49a3 100644 --- a/drivers/net/sfc/falcon_hwdefs.h +++ b/drivers/net/sfc/falcon_hwdefs.h | |||
@@ -1147,8 +1147,8 @@ struct falcon_nvconfig_board_v3 { | |||
1147 | #define SPI_DEV_TYPE_ERASE_SIZE_WIDTH 5 | 1147 | #define SPI_DEV_TYPE_ERASE_SIZE_WIDTH 5 |
1148 | #define SPI_DEV_TYPE_BLOCK_SIZE_LBN 24 | 1148 | #define SPI_DEV_TYPE_BLOCK_SIZE_LBN 24 |
1149 | #define SPI_DEV_TYPE_BLOCK_SIZE_WIDTH 5 | 1149 | #define SPI_DEV_TYPE_BLOCK_SIZE_WIDTH 5 |
1150 | #define SPI_DEV_TYPE_FIELD(type, field) \ | 1150 | #define SPI_DEV_TYPE_FIELD(type, field) \ |
1151 | (((type) >> EFX_LOW_BIT(field)) & EFX_MASK32(field)) | 1151 | (((type) >> EFX_LOW_BIT(field)) & EFX_MASK32(EFX_WIDTH(field))) |
1152 | 1152 | ||
1153 | #define NVCONFIG_BASE 0x300 | 1153 | #define NVCONFIG_BASE 0x300 |
1154 | #define NVCONFIG_BOARD_MAGIC_NUM 0xFA1C | 1154 | #define NVCONFIG_BOARD_MAGIC_NUM 0xFA1C |