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:
Bowen Wang 2024-05-24 23:33:24 +08:00 committed by Xiang Xiao
parent 3caf47942e
commit e040a747aa
1 changed files with 8 additions and 0 deletions

View File

@ -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);
} }