Commit 14c7f71c authored by Bin Meng's avatar Bin Meng Committed by Anup Patel
Browse files

firmware: Minor optimization in _scratch_init()



Before entering _scratch_init(), register t3 already holds a copy
of the firmware end address, hence there is no need to calculate
it again. This reduces 3 instructions in each _scratch_init() loop.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarXiang W <wxjstz@126.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
parent 0e12aa8d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment