[U-Boot] [RFC] drivers: pci: imx: add imx_pcie_remove function

Tim Harvey tharvey at gateworks.com
Wed May 10 21:31:06 UTC 2017


On Wed, May 10, 2017 at 11:10 AM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi Tim,
>
> Thanks for working on this!
>
> [Adding Peter and Jagan on Cc]
>
> On Wed, May 10, 2017 at 1:43 PM, Tim Harvey <tharvey at gateworks.com> wrote:
>> There is no dedicated reset signal wired up for the MX6QDL thus if the
>> bootloader enables the link we need some special handling to get the core
>> back into a state where it is safe to touch it for configuration.
>>
>> While there has been some special handling in the Linux kernel to do this,
>> it was removed in 4.11 thus we need to do it properly in the bootloader
>> and therefore without this if you enable PCI in the bootloader you will hang
>> while booting the 4.11 kernel.
>>
>> This was tested on a Gateworks Ventana board.
>>
>> TODO: what is the right arch specific place to hook the remove function?
>
> Ideally the pcie_imx.c driver should be converted to driver model and
> then the .remove can be simply added, just like in Barebox.
>

Fabio,

Unfortunately converting the IMX PCI driver to DM is a cleanup effort
that I'm not permitted the time to do.

Regards,

Tim


More information about the U-Boot mailing list