]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx8: Configure SNVS
authorFranck LENORMAND <franck.lenormand@nxp.com>
Wed, 9 Oct 2019 08:27:43 +0000 (10:27 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 11:46:22 +0000 (13:46 +0200)
commit242d1cd69b9f750daee0f15c8028d827a6da13e2
tree007cd52bf153b3b4eec962e123bf6e845b2d2378
parent73d769d8afb936cd99873cfb2fef2ef04e02a13d
imx8: Configure SNVS

Add a module to configure the tamper and secure violation of
the SNVS using the SCU API.

The module also adds some commands:
 - snvs_cfg: Configure the SNVS HP and LP registers
 - snvs_dgo_cfg: Configure the SNVS DGO bloc if present (8QXP)
 - tamper_pin_cfg: Change the configuration of the tamper pins
 - snvs_clear_status: Allow to write to LPSR and LPTDSR to clear
   status bits

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx8/sci/sci.h
arch/arm/include/asm/arch-imx8/snvs_security_sc.h [new file with mode: 0644]
arch/arm/mach-imx/imx8/Kconfig
arch/arm/mach-imx/imx8/Makefile
arch/arm/mach-imx/imx8/snvs_security_sc.c [new file with mode: 0644]
board/freescale/imx8qxp_mek/imx8qxp_mek.c
drivers/misc/imx8/scu_api.c