From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 7 Oct 2017 09:07:45 -0400 Subject: [U-Boot] [U-Boot, v2, 1/6] pci: Add helper for implementing memory-mapped config space accesses In-Reply-To: <20170919201808.11433-2-tuomas.tynkkynen@iki.fi> References: <20170919201808.11433-2-tuomas.tynkkynen@iki.fi> Message-ID: <20171007130745.GO25966@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Sep 19, 2017 at 11:18:03PM +0300, 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, similar to how Linux > has pci_generic_config_write and pci_generic_config_read. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: