u-boot/lib
Bin Meng a62e84d7b1 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)
2015-01-13 07:24:40 -08:00
..
bzip2 lib: bzip2: move bzip2 files to lib/bzip2/ directory 2014-12-08 09:35:47 -05:00
libfdt libfdt: move CONFIG_OF_LIBFDT and CONFIG_FIT to lib/Makefile 2014-12-08 09:35:47 -05:00
lzma
lzo
rsa
tizen
zlib Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
addr_map.c
aes.c
asm-offsets.c x86: Clean up asm-offsets 2014-12-13 22:32:04 -07:00
bch.c
bitrev.c
circbuf.c
crc7.c
crc8.c
crc16.c
crc32.c
ctype.c
display_options.c Tidy up data sizes and function comment in display_options 2014-10-27 11:04:01 -04:00
div64.c
errno_str.c lib: errno: introduce errno_str(): returns errno related message 2014-12-11 13:18:41 -07:00
errno.c
fdtdec_common.c
fdtdec_test.c
fdtdec.c fdt: Add several apis to decode pci device node 2015-01-13 07:24:40 -08:00
gunzip.c
gzip.c
hang.c
hashtable.c
initcall.c initcall: add explicit hint if initcall was relocated 2014-12-29 16:31:23 -05:00
Kconfig
ldiv.c
linux_compat.c
linux_string.c
list_sort.c
lmb.c lmb: make local functions static 2014-10-25 07:02:01 -04:00
Makefile lib: errno: introduce errno_str(): returns errno related message 2014-12-11 13:18:41 -07:00
md5.c
net_utils.c
physmem.c
qsort.c
rand.c
rbtree.c
sha1.c
sha256.c
slre.c
string.c lib: string: move strlcpy() to a common place 2014-12-11 13:18:41 -07:00
strmhz.c replace DIV_ROUND with DIV_ROUND_CLOSEST 2014-11-20 11:28:25 -05:00
time.c Use uint64_t for time types 2014-10-27 11:04:01 -04:00
tpm.c
trace.c
uuid.c
vsprintf.c vsprintf: Add modifier for phys_addr_t 2014-11-23 06:49:01 -05:00