diff options
author | Ido Yariv <ido@wizery.com> | 2011-03-31 12:06:57 +0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-04-19 17:49:17 +0400 |
commit | d29633b40e6afc6b4276a4e381bc532cc84be104 (patch) | |
tree | 136e6a871de72b504a8999b924c8c29958654382 /drivers/net/wireless/wl12xx/boot.h | |
parent | 8bf69aae4cb9b196ba5ac386f83a1ca3865af11f (diff) | |
download | linux-d29633b40e6afc6b4276a4e381bc532cc84be104.tar.xz |
wl12xx: Clean up and fix the 128x boot sequence
Clean up the boot sequence code & fix the following issues:
1. Always read the registers' values and set the relevant bits instead of
zeroing all other bits
2. Handle cases where wl1271_top_reg_read returns an error
3. Verify that the HW can detect the selected clock source
4. Remove 128x PG10 initialization code
5. Configure the MCS PLL to work in HP mode
Signed-off-by: Ido Yariv <ido@wizery.com>
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/boot.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/boot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/boot.h b/drivers/net/wireless/wl12xx/boot.h index 1f5ee31dc0b1..d9de64ac1442 100644 --- a/drivers/net/wireless/wl12xx/boot.h +++ b/drivers/net/wireless/wl12xx/boot.h @@ -107,6 +107,7 @@ struct wl1271_static_data { #define MCS_SEL_IN_FREQ_MASK 0x0070 #define MCS_SEL_IN_FREQ_SHIFT 4 #define MCS_PLL_CONFIG_REG_VAL 0x73 +#define MCS_PLL_ENABLE_HP (BIT(0) | BIT(1)) #define MCS_PLL_M_REG 0xD94 #define MCS_PLL_N_REG 0xD96 |