Re: [U-Boot] [PATCH v2 1/6] pci: Add helper for implementing memory-mapped config space accesses

2017-09-19 Thread Bin Meng
Hi Tuomas, On Wed, Sep 20, 2017 at 4:18 AM, Tuomas Tynkkynen wrote: > 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,

[U-Boot] [PATCH v2 1/6] pci: Add helper for implementing memory-mapped config space accesses

2017-09-19 Thread Tuomas Tynkkynen
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