[PATCH] pci: ecm generic: use dev_read_() interface
Simon Glass
sjg at chromium.org
Mon Feb 20 17:21:35 CET 2023
On Sat, 18 Feb 2023 at 05:25, Mayuresh Chitale
<mchitale at ventanamicro.com> wrote:
>
> Use dev_read_() api instead of the fdtdec API to fetch the host
> controller's reg property value. This is similar to the other host
> controller drivers such as Sifive, Rockchip etc. Without this change,
> enabling CONFIG_OF_LIVE breaks the PCIe enumeration on Qemu Risc-V virt
> machine. The issue is described in the link below:
>
> Link: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/1
> Signed-off-by: Mayuresh Chitale <mchitale at ventanamicro.com>
> ---
> drivers/pci/pcie_ecam_generic.c | 21 ++++++++-------------
> 1 file changed, 8 insertions(+), 13 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list