Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b42d308 authored by Kalle Valo's avatar Kalle Valo
Browse files

ath6kl: set ram reserved size only for ar6003



Ram reserved size is not needed with ar6004.

Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 03bdeb0d
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -539,6 +539,7 @@ int ath6kl_configure_target(struct ath6kl *ar)
	 * but possible in theory.
	 */

	if (ar->target_type == TARGET_TYPE_AR6003) {
		param = ar->hw.board_ext_data_addr;
		ram_reserved_size = ar->hw.reserved_ram_size;

@@ -552,6 +553,7 @@ int ath6kl_configure_target(struct ath6kl *ar)
			ath6kl_err("bmi_write_memory for hi_end_ram_reserve_sz failed\n");
			return -EIO;
		}
	}

	/* set the block size for the target */
	if (ath6kl_set_htc_params(ar, MBOX_YIELD_LIMIT, 0))