flash/stm32l4x: introduce 'stm32l4x trustzone [enable|disable]' command
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>
Wed, 25 Mar 2020 21:47:08 +0000 (22:47 +0100)
committerOleksij Rempel <linux@rempel-privat.de>
Thu, 26 Aug 2021 06:17:12 +0000 (06:17 +0000)
commit84291d02692fe69d75ccd3ce11dea4522ad988a0
treec8aeb33b484e6e0d602cfb8197f57a639bdddb3a
parent1bce8d3d80490d66b56c2283e3ffee81a655a80a
flash/stm32l4x: introduce 'stm32l4x trustzone [enable|disable]' command

this command will help to enable/disable or display the TrustZone security,
using the TZEN option bit.

Note: This command works only with devices with TrustZone, eg. STM32L5.
Note: This command will perform an OBL_Launch after modifying the TZEN.

Change-Id: I4aef15bf57d09c1658d37858143d23b1d43de1f0
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/5542
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
doc/openocd.texi
src/flash/nor/stm32l4x.c