From: Vladimir Oltean Date: Sun, 14 Mar 2021 10:10:30 +0200 Subject: [PATCH v3 15/22] net: tsec: Use map_physmem() directly instead of dev_remap_addr() In-Reply-To: <20210314051510.26628-16-bmeng.cn@gmail.com> References: <20210314051510.26628-1-bmeng.cn@gmail.com> <20210314051510.26628-16-bmeng.cn@gmail.com> Message-ID: <20210314081030.zg3d3mbzu6ps6cmq@skbuf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Mar 14, 2021 at 01:15:03PM +0800, Bin Meng wrote: > dev_remap_addr() eventually calls dev_read_addr_index(), while > pdata->iobase holds the return value of dev_read_addr() that calls > dev_read_addr_index() too. Such duplication can be avoided by using > map_physmem() directly. > > Signed-off-by: Bin Meng > > --- Reviewed-by: Vladimir Oltean