u-boot-brain/drivers
Sven-Ola Tuecke b2915ba25e drivers: pci: imx: fix imx_pcie_remove function
We have at least a minor count of boards, that failed to re-initialize
PCI express in the Linux kernel. Typical failure rate is 20% on affected
boards. This is mitigated by commit 6ecbe13756 ("drivers: pci: imx:
add imx_pcie_remove function").

However, at least on some i.MX6 custom boards, when calling
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@numberfour.eu>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: David Müller <d.mueller@elsoft.ch>
2017-10-12 17:56:28 +02:00
..
adc treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ata treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
bios_emulator printk: collect printk stuff into <linux/printk.h> with loglevel support 2017-10-04 10:31:17 -04:00
block blk: Remove various places that do flush cache after read 2017-09-15 08:05:10 -04:00
bootcount cosmetic: bootcount: correct comment for used scratch register 2017-09-12 17:58:54 -04:00
clk Merge branch 'rmobile' of git://git.denx.de/u-boot-sh 2017-10-10 20:14:38 -04:00
core dm: ofnode: query correct property in livetree ofnode_get_addr_size 2017-10-08 20:41:09 -06:00
cpu dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
crypto crypto/fsl: fix obj-yy in Makefile 2017-09-04 09:02:07 -04:00
ddr armv8: ls1088a: Add NXP LS1088A SoC support 2017-09-11 08:00:13 -07:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
dma treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
firmware dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
fpga fpga: xilinx: Avoid using local intermediate buffer 2017-08-02 09:11:52 +02:00
gpio Merge branch 'rmobile' of git://git.denx.de/u-boot-sh 2017-10-10 20:14:38 -04:00
i2c i2c: muxes: pca954x: look up width from chip_desc 2017-10-11 06:17:22 +02:00
input env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
mmc dm: mmc: remove DM_MMC_OPS for STM32_SDMMC 2017-10-08 16:19:56 -04:00
mtd treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
net Merge branch 'rmobile' of git://git.denx.de/u-boot-sh 2017-10-10 20:14:38 -04:00
nvme nvme: Remove dead codes in nvme_setup_io_queues() 2017-09-03 15:30:34 -04:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci drivers: pci: imx: fix imx_pcie_remove function 2017-10-12 17:56:28 +02:00
pcmcia Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver 2017-08-11 15:41:51 -04:00
phy treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
pinctrl Merge branch 'rmobile' of git://git.denx.de/u-boot-sh 2017-10-10 20:14:38 -04:00
power treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
pwm dm: tegra: pwm: Convert to livetree 2017-07-28 12:02:47 -06:00
qe blk: Remove various places that do flush cache after read 2017-09-15 08:05:10 -04:00
ram treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
rtc env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
scsi blk: dm: make blk_create_device() take a number of block instead of a size 2017-09-11 21:43:58 -06:00
serial Merge branch 'rmobile' of git://git.denx.de/u-boot-sh 2017-10-10 20:14:38 -04:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
spi treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
spmi dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sysreset treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
thermal thermal: imx: fix calculation 2017-05-18 11:23:31 +02:00
timer rockchip: timer: update for 32/64bit-aware OF_PLATDATA 2017-09-18 20:40:37 +02:00
tpm treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
usb Merge branch 'rmobile' of git://git.denx.de/u-boot-sh 2017-10-10 20:14:38 -04:00
video Merge git://git.denx.de/u-boot-video 2017-10-09 13:31:33 -04:00
watchdog wdt: Update uclass to make clear that the timeout is in ms 2017-08-13 15:17:34 -04:00
Kconfig nvme: Add NVM Express driver support 2017-08-13 15:17:31 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-rockchip 2017-08-14 10:40:01 -04:00