• Simon Glass's avatar
    dm: serial: Convert ns16550 driver to use driver model PCI API · fcc0a877
    Simon Glass authored
    Use the driver model version of the function to find the BAR. This updates
    the fdtdec function, of which ns16550 is the only user.
    
    The fdtdec_get_pci_bdf() function is dropped for several reasons:
    - with driver model we should use 'struct udevice *' rather than passing the
       device tree offset explicitly
    - there are no other users in the tree
    - the function parses for information which is already available in the PCI
    device structure (specifically struct pci_child_platdata which is available
    at dev_get_parent_platdata(dev)
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
    Tested-by: default avatarBin Meng <bmeng.cn@gmail.com>
    fcc0a877
Name
Last commit
Last update
..
bzip2 Loading commit data...
dhry Loading commit data...
efi Loading commit data...
libfdt Loading commit data...
lzma Loading commit data...
lzo Loading commit data...
rsa Loading commit data...
tizen Loading commit data...
zlib Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
addr_map.c Loading commit data...
aes.c Loading commit data...
asm-offsets.c Loading commit data...
bch.c Loading commit data...
bitrev.c Loading commit data...
circbuf.c Loading commit data...
crc16.c Loading commit data...
crc32.c Loading commit data...
crc7.c Loading commit data...
crc8.c Loading commit data...
ctype.c Loading commit data...
display_options.c Loading commit data...
div64.c Loading commit data...
errno.c Loading commit data...
errno_str.c Loading commit data...
fdtdec.c Loading commit data...
fdtdec_common.c Loading commit data...
fdtdec_test.c Loading commit data...
gunzip.c Loading commit data...
gzip.c Loading commit data...
hang.c Loading commit data...
hashtable.c Loading commit data...
initcall.c Loading commit data...
ldiv.c Loading commit data...
linux_compat.c Loading commit data...
linux_string.c Loading commit data...
list_sort.c Loading commit data...
lmb.c Loading commit data...
lz4.c Loading commit data...
lz4_wrapper.c Loading commit data...
md5.c Loading commit data...
membuff.c Loading commit data...
net_utils.c Loading commit data...
panic.c Loading commit data...
physmem.c Loading commit data...
qsort.c Loading commit data...
rand.c Loading commit data...
rbtree.c Loading commit data...
rc4.c Loading commit data...
sha1.c Loading commit data...
sha256.c Loading commit data...
slre.c Loading commit data...
string.c Loading commit data...
strmhz.c Loading commit data...
strto.c Loading commit data...
time.c Loading commit data...
tiny-printf.c Loading commit data...
tpm.c Loading commit data...
trace.c Loading commit data...
uuid.c Loading commit data...
vsprintf.c Loading commit data...