From dd3374626f2e04d2ded8eaf555d756a124eadb3b Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Sun, 4 Oct 2020 00:43:36 -0700 Subject: [PATCH] Add flash control registers to mqnic_hw.h --- modules/mqnic/mqnic_hw.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/mqnic/mqnic_hw.h b/modules/mqnic/mqnic_hw.h index a5193a9dc..7a2b78a43 100644 --- a/modules/mqnic/mqnic_hw.h +++ b/modules/mqnic/mqnic_hw.h @@ -104,6 +104,13 @@ either expressed or implied, of The Regents of the University of California. #define MQNIC_REG_GPIO_XCVR_RS0_OUT 0x40 #define MQNIC_REG_GPIO_XCVR_RS1_OUT 0x80 +#define MQNIC_REG_FLASH_ID 0x0140 +#define MQNIC_REG_FLASH_BPI_ADDR 0x0144 +#define MQNIC_REG_FLASH_BPI_DATA 0x0148 +#define MQNIC_REG_FLASH_BPI_CTRL 0x014c +#define MQNIC_REG_FLASH_SPI_0_CTRL 0x0144 +#define MQNIC_REG_FLASH_SPI_1_CTRL 0x0148 + #define MQNIC_PHC_REG_FEATURES 0x0000 #define MQNIC_PHC_REG_PTP_CUR_FNS 0x0010 #define MQNIC_PHC_REG_PTP_CUR_NS 0x0014