wl18xx: change board type enum according to new FW
Add more board types and remove a now unneeded write to SCR_PAD2 setting
the board type.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
diff --git a/drivers/net/wireless/ti/wl18xx/reg.h b/drivers/net/wireless/ti/wl18xx/reg.h
index 43c480f..1674c1a 100644
--- a/drivers/net/wireless/ti/wl18xx/reg.h
+++ b/drivers/net/wireless/ti/wl18xx/reg.h
@@ -176,20 +176,15 @@
};
enum {
- BOARD_TYPE_FPGA_18XX = 0,
- BOARD_TYPE_HDK_18XX = 1,
- BOARD_TYPE_DVP_EVB_18XX = 2,
+ BOARD_TYPE_EVB_18XX = 0,
+ BOARD_TYPE_DVP_18XX = 1,
+ BOARD_TYPE_HDK_18XX = 2,
+ BOARD_TYPE_FPGA_18XX = 3,
+ BOARD_TYPE_COM8_18XX = 4,
NUM_BOARD_TYPES,
};
-/* board type values used by the firmware in the SCR_PAD2 register */
-enum {
- SCR_PAD2_BOARD_TYPE_FPGA = 0xB1,
- SCR_PAD2_BOARD_TYPE_HDK = 0xB2,
- SCR_PAD2_BOARD_TYPE_DVP_EVB = 0xB3,
-};
-
struct wl18xx_mac_and_phy_params {
u8 phy_standalone;
u8 rdl;