core: device: Add PCIe to bind list if we set GD_FLG_RELOC
Change-Id: Ib115bc6eb52f8a08e28805ea15e2cbf8f27f5f63 Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This commit is contained in:
parent
0b6867032a
commit
80907d3c4c
|
@ -54,7 +54,8 @@ static int device_bind_common(struct udevice *parent, const struct driver *drv,
|
|||
if (gd->flags & GD_FLG_RELOC) {
|
||||
/* For mmc/nand/spiflash, just update from kernel dtb instead bind again*/
|
||||
if (drv->id == UCLASS_MMC || drv->id == UCLASS_RKNAND ||
|
||||
drv->id == UCLASS_SPI_FLASH || drv->id == UCLASS_MTD) {
|
||||
drv->id == UCLASS_SPI_FLASH || drv->id == UCLASS_MTD ||
|
||||
drv->id == UCLASS_PCI) {
|
||||
list_for_each_entry(dev, &uc->dev_head, uclass_node) {
|
||||
if (!strcmp(name, dev->name)) {
|
||||
debug("%s do not bind dev already in list %s\n",
|
||||
|
|
Loading…
Reference in New Issue