mips: octeon_nic23: Add PCIe FLR fixup via cyclic infrastructure
authorAaron Williams <awilliams@marvell.com>
Fri, 2 Sep 2022 11:57:52 +0000 (13:57 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 13 Sep 2022 20:01:44 +0000 (16:01 -0400)
commit5ee0fa722c300d443b82d214a67583b36ae40909
tree9fb885f23b54a0b4d8c36d9b50dd91de4154f489
parent1f865ee0baa3009bda3d9dd7808d0473424fae11
mips: octeon_nic23: Add PCIe FLR fixup via cyclic infrastructure

This patch adds a fixup function related to a PCIe FLR (Function Level
Reset) problem on the NIC23 PCIe board. This function is imported from
the Marvell Octeon 2013 U-Boot version as a (nearly) verbatim copy. It
uses the newly introduced cyclic infrastructure, so that this function
gets called every 100us, which is needed to detect this FLR issue.

Signed-off-by: Aaron Williams <awilliams@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
board/Marvell/octeon_nic23/board.c
configs/octeon_nic23_defconfig