pcie: Add t6000 support

This one seems to need one extra magic poke

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-11-10 18:03:43 +09:00
parent a83d0908e5
commit 510dd53175

View file

@ -152,6 +152,10 @@ int pcie_init(void)
printf("pcie: Error applying %s for %s\n", "apcie-axi2af-tunables", path); printf("pcie: Error applying %s for %s\n", "apcie-axi2af-tunables", path);
return -1; return -1;
} }
/* ??? */
write32(rc_base + 0x4, 0);
if (tunables_apply_local(path, "apcie-common-tunables", 1)) { if (tunables_apply_local(path, "apcie-common-tunables", 1)) {
printf("pcie: Error applying %s for %s\n", "apcie-common-tunables", path); printf("pcie: Error applying %s for %s\n", "apcie-common-tunables", path);
return -1; return -1;