[U-Boot] [PATCH v2] mpc85xx: pci: Implement workaround for Erratum A007815

york sun york.sun at nxp.com
Tue Jan 24 22:35:10 CET 2017


On 12/01/2016 12:22 PM, Tony O'Brien wrote:
> The read-only-write-enable bit is set by default and must be cleared
> to prevent overwriting read-only registers.  This should be done
> immediately after resetting the PCI Express controller.
>
> Reviewed-by: Hamish Martin <hamish.martin at alliedtelesis.co.nz>
> Signed-off-by: Tony O'Brien <tony.obrien at alliedtelesis.co.nz>
>
> ---
> Note that this does not implement the whole fix for this erratum,
> just what is necessary for our implementation. Since we are using a
> fixed RC configuration, no support has been added for EP mode or any
> consideration of link-up/down events.
> ---
>  arch/powerpc/cpu/mpc85xx/cmd_errata.c     | 3 +++
>  arch/powerpc/include/asm/config_mpc85xx.h | 1 +
>  arch/powerpc/include/asm/fsl_pci.h        | 4 +++-
>  drivers/pci/fsl_pci_init.c                | 7 +++++++
>  4 files changed, 14 insertions(+), 1 deletion(-)
>

Move SYS_FSL_ERRATUM_A007815 to Kconfig.
Applied to u-boot-mpc85xx master, awaiting upstream. Thanks.

York



More information about the U-Boot mailing list