Commit e71a7c10 authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

firmware: Remove redundant add instruction from trap restore path



The "add sp, a0, zero" instruction in the trap restore path is redundant
and can be avoided if TRAP_RESTORE_xyz() assembly macros use a0 as the
base register instead of sp.

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarXiang W <wxjstz@126.com>
parent 3d8a9527
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