]> git.sur5r.net Git - u-boot/commit
mpc85xx: pcie: Implement workaround for Erratum A007815
authorTony O'Brien <tony.obrien@alliedtelesis.co.nz>
Thu, 1 Dec 2016 20:22:34 +0000 (09:22 +1300)
committerYork Sun <york.sun@nxp.com>
Tue, 24 Jan 2017 21:28:31 +0000 (13:28 -0800)
commit09bfd962bdc97359b916bfbf18a17e2a85396d65
treef10f742b21bd31dbd0d35b97064913d5630091db
parent06ad970b53a3d6aa122685e6142a04908434a8ef
mpc85xx: pcie: Implement workaround for Erratum A007815

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@alliedtelesis.co.nz>
Signed-off-by: Tony O'Brien <tony.obrien@alliedtelesis.co.nz>
[York S: Move SYS_FSL_ERRATUM_A007815 to Kconfig]
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc85xx/Kconfig
arch/powerpc/cpu/mpc85xx/cmd_errata.c
arch/powerpc/include/asm/fsl_pci.h
drivers/pci/fsl_pci_init.c