u-boot-brain/arch
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
..
arc board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
arm drivers: pci: imx: add imx_pcie_remove function 2017-05-31 10:09:03 +02:00
avr32 Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
m68k spi: Zap cf_qspi driver and related code 2017-01-15 18:29:04 +01:00
microblaze spl: make image arg or fdt blob address reconfigurable 2017-05-08 11:38:40 -04:00
mips boston: Setup memory ranges in FDT provided to Linux 2017-05-12 13:29:50 +02:00
nds32 nds32: eth: Support ftmac100 DM. 2017-05-23 13:48:27 +08:00
nios2 fdt: Move fdt_fixup_ethernet to a common place 2017-05-01 09:11:59 -04:00
powerpc Convert CONFIG_CMD_IRQ to Kconfig 2017-05-22 12:45:31 -04:00
sandbox dm: test: Add tests for the generic PHY uclass 2017-05-09 12:14:16 -06:00
sh sh: generate position independent code for all platforms 2016-12-02 21:32:54 -05:00
x86 x86: minnowmax: Remove incorrect pad-offset of several pins 2017-05-17 17:13:06 +08:00
xtensa board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig Merge branch 'master' of git://git.denx.de/u-boot-nds32 2017-05-22 14:14:44 -04:00