]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(tc): allow secure watchdog timer to trigger periodically
authorMadhukar Pappireddy <madhukar.pappireddy@arm.com>
Wed, 22 Mar 2023 20:40:40 +0000 (15:40 -0500)
committerMadhukar Pappireddy <madhukar.pappireddy@arm.com>
Thu, 4 May 2023 13:24:12 +0000 (08:24 -0500)
commit28b2d86cd28ffc54c6272defcd6f123a925012f1
treef4990189ead8cd8b29f584dc74eaabe4735add10
parente8166d3e5937b8db43921b5049672b16af7f58e0
feat(tc): allow secure watchdog timer to trigger periodically

This patch does the following:
  1. Configures SBSA secure watchdog timer as Group0 interrupt for
     TC platform while keeping it as Group1 secure interrupt for
     other CSS based SoCs.
  2. Programs the watchdog timer to trigger periodically
  3. Provides a Group0 interrupt handler for TC platform port to
     deactivate the EL3 interrupt due to expiry of secure watchdog
     timer and refresh it explicitly.

Change-Id: I3847d6eb7347c6ea0e527b97b096119ca1e6701b
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
include/plat/arm/common/plat_arm.h
include/plat/arm/css/common/css_def.h
plat/arm/board/tc/include/platform_def.h
plat/arm/board/tc/platform.mk
plat/arm/board/tc/tc_bl31_setup.c
plat/arm/board/tc/tc_plat.c
plat/arm/common/arm_bl31_setup.c