Home
last modified time | relevance | path

Searched hist:a62e84d7b1824a202dd6a9e9c7b1bc350c7b33b7 (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/drivers/pci/
H A Dpci_tegra.ca62e84d7b1824a202dd6a9e9c7b1bc350c7b33b7 Wed Dec 31 08:05:11 UTC 2014 Bin Meng <bmeng.cn@gmail.com> fdt: Add several apis to decode pci device node

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 pci device register bar

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
(Include <pci.h> in fdtdec.h and adjust tegra to fix build error)
/rk3399_rockchip-uboot/include/
H A Dfdtdec.ha62e84d7b1824a202dd6a9e9c7b1bc350c7b33b7 Wed Dec 31 08:05:11 UTC 2014 Bin Meng <bmeng.cn@gmail.com> fdt: Add several apis to decode pci device node

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 pci device register bar

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
(Include <pci.h> in fdtdec.h and adjust tegra to fix build error)
/rk3399_rockchip-uboot/lib/
H A Dfdtdec.ca62e84d7b1824a202dd6a9e9c7b1bc350c7b33b7 Wed Dec 31 08:05:11 UTC 2014 Bin Meng <bmeng.cn@gmail.com> fdt: Add several apis to decode pci device node

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 pci device register bar

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
(Include <pci.h> in fdtdec.h and adjust tegra to fix build error)