[PATCH 1/1] firmware: Minor optimization for relocate
Bin Meng
bmeng.cn at gmail.com
Mon Nov 28 23:51:33 PST 2022
On Tue, Nov 29, 2022 at 11:57 AM Dongdong Zhang
<zhangdongdong at eswincomputing.com> wrote:
>
> The t3 register stores the address of _load_end. If relocation is not required, it is unnecessary to calculate the address of _load_end.
nits: commit messages should be written like about 70 characters per line.
>
> This can reduce the operation time of two instructions.
>
> Signed-off-by: Dongdong Zhang <zhangdongdong at eswincomputing.com>
> ---
> firmware/fw_base.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng <bmeng at tinylab.org>
More information about the opensbi
mailing list