]> Git Repo - u-boot.git/commit
pci: Add helper for implementing memory-mapped config space accesses
authorTuomas Tynkkynen <[email protected]>
Tue, 19 Sep 2017 20:18:03 +0000 (23:18 +0300)
committerTom Rini <[email protected]>
Fri, 6 Oct 2017 15:27:40 +0000 (11:27 -0400)
commitbadb99220a42f88bc823c884e487657bfe734a4d
tree8dffd731258ba71229fdc9440eefc60f380284ce
parenta4d72869f83a7f31a2f0bd000cea86980ddb975f
pci: Add helper for implementing memory-mapped config space accesses

This sort of pattern for implementing memory-mapped PCI config space
accesses appears in U-Boot twice already, and a third user is coming up.
So add helper functions to avoid code duplication, similar to how Linux
has pci_generic_config_write and pci_generic_config_read.

Signed-off-by: Tuomas Tynkkynen <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
drivers/pci/pci-uclass.c
include/pci.h
This page took 0.036853 seconds and 4 git commands to generate.