diff options
author | Simon Glass <sjg@chromium.org> | 2015-11-29 13:17:54 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-12 10:19:09 -0700 |
commit | fcc0a8774bb78a601a0d6d4e1f73dcfc07b3d4a4 (patch) | |
tree | bfbd10068f4e1514a6a9796ee56fba412d4cc5fc /arch/x86 | |
parent | bab17cf143c4888d03eb51f20aa6b86210448608 (diff) | |
download | u-boot-imx-fcc0a8774bb78a601a0d6d4e1f73dcfc07b3d4a4.zip u-boot-imx-fcc0a8774bb78a601a0d6d4e1f73dcfc07b3d4a4.tar.gz u-boot-imx-fcc0a8774bb78a601a0d6d4e1f73dcfc07b3d4a4.tar.bz2 |
dm: serial: Convert ns16550 driver to use driver model PCI API
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: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions