dm: pci: Add a function to write a BAR
authorSimon Glass <sjg@chromium.org>
Tue, 19 Jan 2016 03:19:15 +0000 (20:19 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:07:17 +0000 (12:07 +0800)
commit9d731c82f0b17ea31666b23e5685d3d2a8388a68
tree632fdce6062043157524d4a08bbc0613c08c1267
parenta6eb93b3212d37fe623ed3b4351eedb971c12e3c
dm: pci: Add a function to write a BAR

Add a driver-model version of the pci_write_bar32 function so that this is
supported in the new API.

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