|
@@ -868,17 +868,13 @@ static int iwl_pcie_load_cpu_sections(struct iwl_trans *trans,
|
|
int cpu,
|
|
int cpu,
|
|
int *first_ucode_section)
|
|
int *first_ucode_section)
|
|
{
|
|
{
|
|
- int shift_param;
|
|
|
|
int i, ret = 0;
|
|
int i, ret = 0;
|
|
u32 last_read_idx = 0;
|
|
u32 last_read_idx = 0;
|
|
|
|
|
|
- if (cpu == 1) {
|
|
|
|
- shift_param = 0;
|
|
|
|
|
|
+ if (cpu == 1)
|
|
*first_ucode_section = 0;
|
|
*first_ucode_section = 0;
|
|
- } else {
|
|
|
|
- shift_param = 16;
|
|
|
|
|
|
+ else
|
|
(*first_ucode_section)++;
|
|
(*first_ucode_section)++;
|
|
- }
|
|
|
|
|
|
|
|
for (i = *first_ucode_section; i < image->num_sec; i++) {
|
|
for (i = *first_ucode_section; i < image->num_sec; i++) {
|
|
last_read_idx = i;
|
|
last_read_idx = i;
|