Hello,
You may use U-boot to read / write (once) fuses.
For example, u-boot command to read TAMPER_PIN_DISABLE is
=> fuse read 0 3
Definition of TAMPER_PIN_DISABLE[1:0] are as following :
00 - enabled, TAMPER0-9 used as TAMPER detection pins.
01 - disabled TAMPER2-4 and TAMPER7-9 used as GPIO.
10 - disabled TAMPER0-1 and TAMPER5-6 used as GPIO.
11 - disabled TAMPER0-9 used as GPIO.
So, for the mentioned U-boot command, If bit [21:20] is 11, then all the ten
tamper pins are programmed to GPIO mode.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------