u-boot/arch/arm/include/asm/arch-mx7
Ye Li d520e1c606 MLK-20758 mx7: Add new command for tamper pin
Add new u-boot command "imx_tamper" to configure and check the tamper pins.
The codes are used for reference and test. So command is disabled at default,
user can enable it by adding CONFIG_IMX_TAMPER=y to defconfig

The iMX7D has 10 tamper pins those can be used for SNVS tamper detection.

Tamper 9 pin is NVCC_DRAM power switch for LPSR by default.
It must be fused to tamper function by command
=> fuse prog -y 1 3 0x80000000
Otherwise, SNVS power consumption would be high

When tamper is detected, CPU can't enter/stay in SNVS mode,
the tamper must be cleared and disabled before enter SNVS.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Shaojun Wang <shaojun.wang@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
2019-01-16 22:32:42 -08:00
..
clock.h imx: imx7d: remove CamelCase from ENET_xMHz macros 2017-09-18 17:15:28 +02:00
clock_slice.h
crm_regs.h MLK-18591-2 crypto: caam: Add fsl caam driver 2018-06-13 02:41:08 -07:00
gpio.h
imx-rdc.h
imx-regs.h MLK-20510-2 mx7d: Align implementation of is_boot_from_usb with mx6 2018-12-05 19:23:31 -08:00
mx7-ddr.h imx: mx7: DDR controller configuration for the i.MX7 architecture 2017-10-12 17:31:16 +02:00
mx7-pins.h
mx7_plugin.S
mx7d_pins.h
mx7d_rdc.h
snvs.h MLK-20758 mx7: Add new command for tamper pin 2019-01-16 22:32:42 -08:00
sys_proto.h imx7: Add include guards for include/asm/arch-mx7/sys_proto.h file 2017-11-09 11:32:49 +01:00