On Sun, Jul 03, 2022 at 12:48:06PM +0200, Pali Rohár wrote: > PCIe config space has address range 0-4095. So do not allow reading from > addresses outside of this range. Lot of U-Boot drivers do not expect that > passed value is not in this range. PCI DM read function is extended to > fill read value to all ones or zeros when it fails as U-Boot callers > ignores return value. > > Calling U-Boot command 'pci display.b 0.0.0 0 0x2000' now stops printing > config space at the end (before 0x1000 address). > > Signed-off-by: Pali Rohár > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom