diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-07-10 22:00:31 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-07-11 11:41:50 +0530 |
commit | 14c7f71c0da641ece1b91ef0bde190f66c980a3e (patch) | |
tree | 262d89849c3faf6de46ff0e111bfe1c98c9c5f67 /docs/platform_guide.md | |
parent | 0e12aa8dee632f67dbb458aa5d3ee38f7db4e70c (diff) |
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: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'docs/platform_guide.md')
0 files changed, 0 insertions, 0 deletions