firmware: rockchip: use 'nsec_ctx->und_lr' to deliver fiq break point's PC
authorchenjh <chenjh@rock-chips.com>
Mon, 15 May 2017 02:02:31 +0000 (10:02 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 May 2017 01:27:25 +0000 (09:27 +0800)
commit29e959968ff2b7cca782fe80dd00883fa0b71e66
treee01d266a0a5a38e3f3e668931cc0caac5e3aed04
parent3ea271934d69e7c7a4b2c5c5f28f3aed724cb7a3
firmware: rockchip: use 'nsec_ctx->und_lr' to deliver fiq break point's PC

'nsec_ctx->mon_lr' is not the fiq break point's PC, because it will
be override as 'sip_fiq_debugger_uart_irq_tf_cb' for optee-os to
jump to fiq_debugger handler. As 'nsec_ctx->und_lr' is not used for
kernel, optee-os uses it to deliver fiq break point's PC.

Change-Id: I5a831638e8228766d03d92674e3e29facdd116f8
Signed-off-by: chenjh <chenjh@rock-chips.com>
drivers/firmware/rockchip_sip.c