]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: pci: Provide friendly config access functions
authorSimon Glass <sjg@chromium.org>
Mon, 10 Aug 2015 13:05:03 +0000 (07:05 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:23:19 +0000 (10:23 +0200)
commit0dd88a810200b4dee69a60215347e6f2eb0a38b3
tree332d5c77e1b0ec1875dce4351dc7b0c157d33880
parent55edb2c8e09d7fa95087e2fceccabd452f510502
dm: pci: Provide friendly config access functions

At present there are no PCI functions which allow access to PCI
configuration using a struct udevice. This is a sad situation for driver
model as it makes use of PCI harder. Add these functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci-uclass.c
include/pci.h