mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 17:41:29 +00:00
ath6kl: add support for AR6003 2048 byte board file
AR6003 2.1.1 supports both 1792 and 2048 byte board files. Add support for 2048 byte board file. kvalo: add ath6kl prefix to the title Signed-off-by: Prasanna Kumar <kumarpra@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
b29072cc7b
commit
fb1ac2efa3
@ -1124,6 +1124,8 @@ static int ath6kl_upload_board_file(struct ath6kl *ar)
|
||||
case TARGET_TYPE_AR6003:
|
||||
board_data_size = AR6003_BOARD_DATA_SZ;
|
||||
board_ext_data_size = AR6003_BOARD_EXT_DATA_SZ;
|
||||
if (ar->fw_board_len > (board_data_size + board_ext_data_size))
|
||||
board_ext_data_size = AR6003_BOARD_EXT_DATA_SZ_V2;
|
||||
break;
|
||||
case TARGET_TYPE_AR6004:
|
||||
board_data_size = AR6004_BOARD_DATA_SZ;
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#define AR6003_BOARD_DATA_SZ 1024
|
||||
#define AR6003_BOARD_EXT_DATA_SZ 768
|
||||
#define AR6003_BOARD_EXT_DATA_SZ_V2 1024
|
||||
|
||||
#define AR6004_BOARD_DATA_SZ 6144
|
||||
#define AR6004_BOARD_EXT_DATA_SZ 0
|
||||
|
Loading…
Reference in New Issue
Block a user