diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-05-10 13:13:48 +0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-05 16:56:31 +0400 |
commit | 05057c0621dea083b617e7c35437faa9db7b7104 (patch) | |
tree | 5c317029fbc310cc893c8b1a5d58c32e409e7bf0 /drivers/net/wireless/ti/wl18xx/reg.h | |
parent | 2f1d74e6e7f26df2665b7df5ff912bc1d3ae75dc (diff) | |
download | linux-05057c0621dea083b617e7c35437faa9db7b7104.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/reg.h')
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/reg.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/reg.h b/drivers/net/wireless/ti/wl18xx/reg.h index 43c480fb837f..1674c1ad002e 100644 --- a/drivers/net/wireless/ti/wl18xx/reg.h +++ b/drivers/net/wireless/ti/wl18xx/reg.h @@ -176,20 +176,15 @@ enum { }; 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; |