board/qemu-armv7a: use fdt_pci_ecam_register() to register pci ecam
Now qemu-armv7a can use the pci drivers Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
parent
3caf47942e
commit
e040a747aa
|
@ -74,6 +74,14 @@ static void register_devices_from_fdt(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_PCI
|
||||||
|
ret = fdt_pci_ecam_register(fdt);
|
||||||
|
if (ret < 0)
|
||||||
|
{
|
||||||
|
syslog(LOG_ERR, "fdt_pci_ecam_register failed, ret=%d\n", ret);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
UNUSED(ret);
|
UNUSED(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue