From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 7 Oct 2017 09:07:50 -0400 Subject: [U-Boot] [U-Boot, v2, 2/6] pci: xilinx: Use pci_generic_mmap_{read, write}_config() In-Reply-To: <20170919201808.11433-3-tuomas.tynkkynen@iki.fi> References: <20170919201808.11433-3-tuomas.tynkkynen@iki.fi> Message-ID: <20171007130750.GP25966@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:04PM +0300, Tuomas Tynkkynen wrote: > Use the new helper function to avoid boilerplate in the driver. > > Note that this changes __raw_writel et al. to writel. AFAICT this is > no problem because: > > - The Linux driver for the same hardware uses the non-__raw variants as > well (via pci_generic_config_write()). > - This driver seems to be used only on MIPS so far, where the __raw and > non-__raw accessors are the same. > > 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: