diff options
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_boot.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_boot.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_boot.h b/drivers/net/wireless/wl12xx/wl1271_boot.h index b0d8fb46a439..412443ee655a 100644 --- a/drivers/net/wireless/wl12xx/wl1271_boot.h +++ b/drivers/net/wireless/wl12xx/wl1271_boot.h | |||
@@ -50,23 +50,17 @@ struct wl1271_static_data { | |||
50 | #define WU_COUNTER_PAUSE_VAL 0x3FF | 50 | #define WU_COUNTER_PAUSE_VAL 0x3FF |
51 | #define WELP_ARM_COMMAND_VAL 0x4 | 51 | #define WELP_ARM_COMMAND_VAL 0x4 |
52 | 52 | ||
53 | #define OCP_CMD_LOOP 32 | 53 | #define OCP_REG_POLARITY 0x0064 |
54 | 54 | #define OCP_REG_CLK_TYPE 0x0448 | |
55 | #define OCP_CMD_WRITE 0x1 | 55 | #define OCP_REG_CLK_POLARITY 0x0cb2 |
56 | #define OCP_CMD_READ 0x2 | ||
57 | |||
58 | #define OCP_READY_MASK BIT(18) | ||
59 | #define OCP_STATUS_MASK (BIT(16) | BIT(17)) | ||
60 | |||
61 | #define OCP_STATUS_NO_RESP 0x00000 | ||
62 | #define OCP_STATUS_OK 0x10000 | ||
63 | #define OCP_STATUS_REQ_FAILED 0x20000 | ||
64 | #define OCP_STATUS_RESP_ERROR 0x30000 | ||
65 | |||
66 | #define OCP_REG_POLARITY 0x30032 | ||
67 | 56 | ||
68 | #define CMD_MBOX_ADDRESS 0x407B4 | 57 | #define CMD_MBOX_ADDRESS 0x407B4 |
69 | 58 | ||
70 | #define POLARITY_LOW BIT(1) | 59 | #define POLARITY_LOW BIT(1) |
71 | 60 | ||
61 | #define FREF_CLK_TYPE_BITS 0xfffffe7f | ||
62 | #define CLK_REQ_PRCM 0x100 | ||
63 | #define FREF_CLK_POLARITY_BITS 0xfffff8ff | ||
64 | #define CLK_REQ_OUTN_SEL 0x700 | ||
65 | |||
72 | #endif | 66 | #endif |