|
@@ -42,7 +42,7 @@ static const struct ath6kl_hw hw_list[] = {
|
|
|
.reserved_ram_size = 6912,
|
|
|
.refclk_hz = 26000000,
|
|
|
.uarttx_pin = 8,
|
|
|
- .flags = 0,
|
|
|
+ .flags = ATH6KL_HW_SDIO_CRC_ERROR_WAR,
|
|
|
|
|
|
/* hw2.0 needs override address hardcoded */
|
|
|
.app_start_override_addr = 0x944C00,
|
|
@@ -68,7 +68,7 @@ static const struct ath6kl_hw hw_list[] = {
|
|
|
.refclk_hz = 26000000,
|
|
|
.uarttx_pin = 8,
|
|
|
.testscript_addr = 0x57ef74,
|
|
|
- .flags = 0,
|
|
|
+ .flags = ATH6KL_HW_SDIO_CRC_ERROR_WAR,
|
|
|
|
|
|
.fw = {
|
|
|
.dir = AR6003_HW_2_1_1_FW_DIR,
|
|
@@ -1431,8 +1431,7 @@ static int ath6kl_init_upload(struct ath6kl *ar)
|
|
|
return status;
|
|
|
|
|
|
/* WAR to avoid SDIO CRC err */
|
|
|
- if (ar->version.target_ver == AR6003_HW_2_0_VERSION ||
|
|
|
- ar->version.target_ver == AR6003_HW_2_1_1_VERSION) {
|
|
|
+ if (ar->hw.flags & ATH6KL_HW_SDIO_CRC_ERROR_WAR) {
|
|
|
ath6kl_err("temporary war to avoid sdio crc error\n");
|
|
|
|
|
|
param = 0x28;
|