On 02/14/2016 07:16 PM, Simon Glass wrote:
Each region is displayed in almost the same way. Break out this common code
into its own function.

diff --git a/drivers/pci/pci_auto_common.c b/drivers/pci/pci_auto_common.c

+       if (hose->pci_mem)
+               pciauto_show_region("Memory", hose->pci_mem);
+       if (hose->pci_prefetch)
+               pciauto_show_region("Prefetchable Mem", hose->pci_mem);

That parameter should be hose->pci_prefetch

+       if (hose->pci_io)
+               pciauto_show_region("I/O", hose->pci_io);

With that fixed, the "dhcp" failure I mentioned earlier is fixed (the system in question uses PCIe Ethernet).
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to