diff options
author | Aaron Williams <awilliams@marvell.com> | 2022-09-02 13:57:52 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-13 16:01:44 -0400 |
commit | 5ee0fa722c300d443b82d214a67583b36ae40909 (patch) | |
tree | 9fb885f23b54a0b4d8c36d9b50dd91de4154f489 /configs | |
parent | 1f865ee0baa3009bda3d9dd7808d0473424fae11 (diff) | |
download | u-boot-5ee0fa722c300d443b82d214a67583b36ae40909.zip u-boot-5ee0fa722c300d443b82d214a67583b36ae40909.tar.gz u-boot-5ee0fa722c300d443b82d214a67583b36ae40909.tar.bz2 |
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>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/octeon_nic23_defconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/octeon_nic23_defconfig b/configs/octeon_nic23_defconfig index 95e98c1..098831e 100644 --- a/configs/octeon_nic23_defconfig +++ b/configs/octeon_nic23_defconfig @@ -20,6 +20,8 @@ CONFIG_AHCI=y CONFIG_OF_BOARD_FIXUP=y CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y # CONFIG_SYS_DEVICE_NULLDEV is not set +CONFIG_CYCLIC=y +CONFIG_CYCLIC_MAX_CPU_TIME_US=5000 CONFIG_ARCH_MISC_INIT=y CONFIG_BOARD_EARLY_INIT_F=y CONFIG_BOARD_LATE_INIT=y @@ -41,6 +43,7 @@ CONFIG_CMD_TIME=y CONFIG_CMD_EXT4=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y +CONFIG_CMD_CYCLIC=y CONFIG_EFI_PARTITION=y CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_TFTP_TSIZE=y |