[U-Boot] [PATCH] drivers: pci: imx: fix imx_pcie_remove function

Fabio Estevam festevam at gmail.com
Fri Oct 13 00:18:38 UTC 2017


Hi David,

On Wed, Oct 11, 2017 at 5:18 AM, David Müller (ELSOFT AG)
<d.mueller at elsoft.ch> wrote:
> Hi Fabio
>
> Fabio Estevam wrote:
>> From: Sven-Ola Tuecke <sven-ola.tuecke at numberfour.eu>
>>
>> However, at least on some i.MX6 custom boards, when calling
>
> By "some", I assume that not all i.MX6 systems are showing this
> behaviour. Does anyone have an idea which systems are affected and which
> are not?

Yes, the mx6 board I have access to do not show this issue.
Not sure why it fails on your board and on Sven's.

>> assert_core_reset() as part of the first-time PCIe init, read access
>> to PCIE_PL_PFLR simply hangs. Surround this readl() with
>> imx_pcie_fix_dabt_handler() does not help. For this reason, the forced
>> LTSSM detection is only used on the second assert_core_reset() that is
>> called shorly before starting the Linux kernel.
>>
>> Signed-off-by: Sven-Ola Tuecke <sven-ola.tuecke at numberfour.eu>
>> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
>
> Seems to work on our board therefore
>
> Tested-by: David Müller <d.mueller at elsoft.ch>

Thanks for testing and glad it works for both of you.


More information about the U-Boot mailing list