[PATCH v3 15/22] net: tsec: Use map_physmem() directly instead of dev_remap_addr()

Vladimir Oltean olteanv at gmail.com
Sun Mar 14 09:10:30 CET 2021


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 <bmeng.cn at gmail.com>
> 
> ---

Reviewed-by: Vladimir Oltean <vladimir.oltean at nxp.com>


More information about the U-Boot mailing list