Skip to content

Commit afb68db

Browse files
Mario Hrosmarcan
authored andcommitted
chickens: Force nonspec for rev 0x0 of Avalanche
Signed-off-by: Mario Hros <[email protected]>
1 parent 2e040a6 commit afb68db

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/chickens_avalanche.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ void init_t8112_avalanche(int rev)
4242
reg_set(SYS_IMP_APL_HID3, HID3_DEV_PCIE_THROTTLE_ENABLE);
4343
reg_set(SYS_IMP_APL_HID18, HID18_AVL_UNK27 | HID18_AVL_UNK29);
4444
reg_set(SYS_IMP_APL_HID16, HID16_AVL_UNK12);
45+
46+
if (rev == 0) {
47+
reg_set(SYS_IMP_APL_HID7, HID7_FORCE_NONSPEC_IF_SPEC_FLUSH_POINTER_INVALID_AND_MP_VALID);
48+
49+
reg_mask(SYS_IMP_APL_HID7, HID7_FORCE_NONSPEC_TARGET_TIMER_SEL_MASK,
50+
HID7_FORCE_NONSPEC_TARGET_TIMER_SEL(3));
51+
}
4552
}
4653

4754
void init_t6021_avalanche(int rev)

0 commit comments

Comments
 (0)