[U-Boot] [PATCH v2 4/7] fdt: Add several apis to decode pci device node

2014-12-27 Thread Bin Meng
This commit adds several APIs to decode PCI device node according to the Open Firmware PCI bus bindings, including: - fdtdec_get_pci_addr() for encoded pci address - fdtdec_get_pci_vendev() for vendor id and device id - fdtdec_get_pci_bdf() for pci device bdf triplet - fdtdec_get_pci_bar32() for pc

Re: [U-Boot] [PATCH v2 4/7] fdt: Add several apis to decode pci device node

2014-12-27 Thread Simon Glass
Hi Bin, On 27 December 2014 at 05:10, Bin Meng wrote: > This commit adds several APIs to decode PCI device node according to > the Open Firmware PCI bus bindings, including: > - fdtdec_get_pci_addr() for encoded pci address > - fdtdec_get_pci_vendev() for vendor id and device id > - fdtdec_get_pc

Re: [U-Boot] [PATCH v2 4/7] fdt: Add several apis to decode pci device node

2014-12-30 Thread Bin Meng
Hi Simon, On Sun, Dec 28, 2014 at 9:55 AM, Simon Glass wrote: > Hi Bin, > > On 27 December 2014 at 05:10, Bin Meng wrote: >> This commit adds several APIs to decode PCI device node according to >> the Open Firmware PCI bus bindings, including: >> - fdtdec_get_pci_addr() for encoded pci address >