]> git.sur5r.net Git - u-boot/commitdiff
imx: ventana: default pci to disabled
authorTim Harvey <tharvey@gateworks.com>
Fri, 17 Jun 2016 13:20:26 +0000 (06:20 -0700)
committerStefano Babic <sbabic@denx.de>
Thu, 28 Jul 2016 11:27:17 +0000 (13:27 +0200)
The IMX6 PCIe host controller does not have a proper reset and as such there
are several issues that can arise if PCI is enabled in the bootloader follwed
by Linux trying to re-configure LTSSM and/or toggling PERST# to the devices.

For now, the best approach seems to default to disabling PCI by defaulting
pciedisable=1. This can be overridden by the user if they need PCI in the
bootloader, for example:
 - GW552x needing ethernet access in bootloader
 - GW16082 expansion board needing a device-tree fixup for irq mapping

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
include/configs/gw_ventana.h

index 982ddba39cf9bab0d23686a6a095e42cd9e877c4..4acfca65a0e2187b59c45327b1bc11576a6acd9c 100644 (file)
        "dio0:mode=gpio;dio1:mode=gpio;dio2:mode=gpio;dio3:mode=gpio\0" \
 
 #define CONFIG_EXTRA_ENV_SETTINGS_COMMON \
+       "pcidisable=1\0" \
        "usb_pgood_delay=2000\0" \
        "console=ttymxc1\0" \
        "bootdevs=usb mmc sata flash\0" \