CONFIG_OF_LIVE breaks pcie_ecam_generic on Qemu-riscv
When CONFIG_OF_LIVE is enabled in qemu-riscv64_defconfig the pci enumeration stops working:
qemu-system-riscv64 -nographic -machine virt -bios u-boot.bin -device e1000
U-Boot 2023.04-rc1 (Feb 07 2023 - 15:36:41 +0530)
CPU: rv64imafdch_zicsr_zifencei_zihintpause_zawrs_zicbom_zicboz_zba_zbb_zbc_zbs_sstc
Model: riscv-virtio,qemu
DRAM: 128 MiB
Core: 25 devices, 12 uclasses, devicetree: board
Flash: 32 MiB
Loading Environment from nowhere... OK
"reg" resource not found
In: serial@10000000
Out: serial@10000000
Err: serial@10000000
Net: No ethernet found.
Hit any key to stop autoboot: 0
=> pci enum
"reg" resource not found
=>
However it works as expected without CONFIG_OF_LIVE option.