u-boot-brain/doc/board
Patrick Delaunay 7ae22d7278 arm: stm32mp: bsec: add permanent lock support in bsec driver
Add BSEC lock access (read / write) at 0xC0000000 offset of misc driver.
The write access only available for Trusted boot mode, based on new
SMC STM32_SMC_WRLOCK_OTP.

With the fuse command, the permanent lock status is accessed with
0x10000000 offset (0xC0000000 - 0x8000000 for OTP sense/program
divided by u32 size), for example:

Read lock status of fuse 57 (0x39)

  STM32MP> fuse sense 0 0x10000039 1

  Sensing bank 0:

  Word 0x10000039: 00000000

Set permanent lock of fuse 57 (0x39)

  STM32MP> fuse prog 0 0x10000039 1

  Sensing bank 0:

  Word 0x10000039: 00000000

WARNING: the OTP lock is updated only after reboot

WARING: Programming lock or fuses is an irreversible operation!
        This may brick your system.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
2020-03-24 14:05:35 +01:00
..
AndesTech doc: fix opensbi build steps for AX25-AE350 2020-02-10 14:51:39 +08:00
atmel doc: board: Add missing board index.rst files 2019-07-29 09:32:08 -04:00
coreboot doc: board: Add coreboot board doc 2019-07-24 10:07:24 -04:00
emulation doc: update QEMU RISC-V documentation 2019-08-26 16:07:42 +08:00
freescale doc: board: Add missing board index.rst files 2019-07-29 09:32:08 -04:00
google doc: Chromebook Coral: Fix typo for "Top of CAR region" 2020-03-05 18:25:21 +08:00
intel doc: intel: Update serial driver changes in slimbootloader.rst 2020-02-04 01:19:26 +08:00
renesas doc: board: Add missing board index.rst files 2019-07-29 09:32:08 -04:00
rockchip doc: boards: Add rockchip documentation 2020-01-30 11:44:01 +08:00
sifive Use dts support from U-Boot via OF_SEPARATE instead of depending from opensbi. 2019-12-10 08:23:10 +08:00
st arm: stm32mp: bsec: add permanent lock support in bsec driver 2020-03-24 14:05:35 +01:00
toradex doc: board: colibri-imx8x: convert readme to reST 2020-03-05 18:19:40 +08:00
xilinx doc: README.xilinx: Add dt bindings 2019-10-08 09:41:27 +02:00
index.rst doc: board: toradex: add colibri_imx7.rst 2020-03-05 18:19:40 +08:00