]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Optimize source end address calculation in start.S
authorBin Meng <bmeng@tinylab.org>
Thu, 13 Apr 2023 06:20:00 +0000 (14:20 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 20 Apr 2023 12:45:08 +0000 (20:45 +0800)
commit883f553e6ba510d4d4ab7d645ff46bc999752e79
treeb51304c67f1d58b4254a05741bca83f1e2c7a05b
parentdb9a7e51bf40e1b60fede560d50afb6c1e830a99
riscv: Optimize source end address calculation in start.S

The __bss_start is the source end address hence load its address
directly into register 't2' for optimization.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
arch/riscv/cpu/start.S