diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-09-19 23:18:03 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-06 11:27:40 -0400 |
commit | badb99220a42f88bc823c884e487657bfe734a4d (patch) | |
tree | 8dffd731258ba71229fdc9440eefc60f380284ce /drivers/pci/pci_auto_common.c | |
parent | a4d72869f83a7f31a2f0bd000cea86980ddb975f (diff) |
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 <tuomas.tynkkynen@iki.fi>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pci/pci_auto_common.c')
0 files changed, 0 insertions, 0 deletions