FIX: [hw14] assert alternate resets of slots 1 & 5 during boot

BugzId: 78363
This commit is contained in:
Marcel Reichmuth 2022-03-10 10:50:42 +01:00
parent 993259da01
commit ea62802ceb
1 changed files with 4 additions and 1 deletions

View File

@ -142,6 +142,10 @@ static int configure_pcie_slots(void)
udelay(200000); /* 200 ms */
}
/* Assert additional alternate reset of slots 1 & 5 */
dm_gpio_set_value(&pcie_slots[1].reset_alt, 1);
dm_gpio_set_value(&pcie_slots[5].reset_alt, 1);
/* Assert reset after power is enabled */
for (i = 0; i < pcie_slot_count; i++) {
dm_gpio_set_value(&pcie_slots[i].reset, 1);
@ -160,7 +164,6 @@ static int configure_pcie_slots(void)
dm_gpio_set_value(&pcie_slots[1].reset_alt, 0);
dm_gpio_set_value(&pcie_slots[5].reset_alt, 0);
/* Deassert reset */
for (i = 0; i < pcie_slot_count; i++) {
dm_gpio_set_value(&pcie_slots[i].reset, 0);