we think 'if (fiq_pt_regs.pstate & 0x10)' doesn't make any
sense, use sp_el1 from bl31 delivers is ok.
Change-Id: I0792d76e39912b4ca5484b029761daac05cd719b
Signed-off-by: chenjh <chenjh@rock-chips.com>
/* copy pstate */
memcpy(&fiq_pt_regs.pstate, reg_base + 0x110, 8);
-
- /* EL1 mode */
- if (fiq_pt_regs.pstate & 0x10)
- memcpy(&fiq_pt_regs.sp, reg_base + 0xf8, 8);
- /* EL0 mode */
- else
- fiq_pt_regs.sp = sp_el1;
+ fiq_pt_regs.sp = sp_el1;
/* copy pc */
memcpy(&fiq_pt_regs.pc, reg_base + 0x118, 8);