]> git.baikalelectronics.ru Git - arm-tf.git/commit
stm32mp1: add plat_panic_handler function
authorYann Gautier <yann.gautier@st.com>
Tue, 15 Sep 2020 10:29:53 +0000 (12:29 +0200)
committerYann Gautier <yann.gautier@st.com>
Mon, 21 Sep 2020 15:53:42 +0000 (17:53 +0200)
commit6397423ed4a08adea3605f60a168a34c2a7ec526
tree005871f3b0f81e7698a1765c5031e33489308c4b
parenta9eda77c22d045dc7f09272b3cba76225177f9f5
stm32mp1: add plat_panic_handler function

The STM32MP1 implementation of this function will call
plat_report_exception(). It displays more information about the panic
if DEBUG is enabled.
The LR register is also filled with R6 content, which hold the faulty
address. This allows debugger to reconstruct the backtrace.

Change-Id: I6710e8e2ab6658b05c5bbad2f3c545f07f355afb
Signed-off-by: Yann Gautier <yann.gautier@st.com>
plat/st/stm32mp1/stm32mp1_helper.S