rv1126-uboot/arch/arm/imx-common
Tim Harvey 6ecbe13756 drivers: pci: imx: add imx_pcie_remove function
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 puts the PCIe controller back into a safe state for the kernel driver
before launching the kernel.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Peter Senna Tschudin <peter.senna@collabora.com>
2017-05-31 10:09:03 +02:00
..
Kconfig Convert CONFIG_CMD_HDMIDETECT to Kconfig 2017-05-22 12:45:22 -04:00
Makefile imx: mx7ulp: Add soc level initialization codes and functions 2017-03-17 09:27:08 +01:00
cache.c imx-common: cache: configure L2 Cache for i.MX6SLL 2016-12-16 11:38:24 +01:00
cmd_bmode.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
cmd_dek.c
cmd_hdmidet.c
cpu.c drivers: pci: imx: add imx_pcie_remove function 2017-05-31 10:09:03 +02:00
ddrmc-vf610.c Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
hab.c mx7ulp: Add HAB boot support 2017-03-17 09:27:08 +01:00
i2c-mxv7.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
imx_bootaux.c
init.c imx6: Add src_base structure define macro 2017-03-17 09:27:08 +01:00
iomux-v3.c imx: mx6sll: add iomux settings 2016-12-16 11:38:24 +01:00
misc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
rdc-sema.c imx-common: rdc-sema: correct return value 2017-05-18 11:23:31 +02:00
sata.c imx-common: sata: return failure if not i.MX6DQPlus 2016-05-24 14:59:56 +02:00
speed.c
spl.c imx6: Add src_base structure define macro 2017-03-17 09:27:08 +01:00
spl_sd.cfg arm: imx: add HAB authentication of image to SPL boot 2017-01-02 17:04:38 +01:00
syscounter.c
timer.c imx-common: timer: clean up 2017-05-18 11:23:31 +02:00
video.c imx: make ipu's di configurable 2016-11-29 16:33:21 +01:00