]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(stm32mp1): manage second NAND OTP on STM32MP13
authorYann Gautier <yann.gautier@foss.st.com>
Wed, 18 Aug 2021 13:03:40 +0000 (15:03 +0200)
committerYann Gautier <yann.gautier@st.com>
Tue, 30 Aug 2022 07:20:20 +0000 (09:20 +0200)
commitd3434dca0b3acb902fe3a6cf39065ba917f69b1c
treeb447600ebdb5e8eb9565b15f1fb0a2500ea786c2
parent9ee2510b62ef9428d767523ddb9c5a39b7a2b954
feat(stm32mp1): manage second NAND OTP on STM32MP13

On STM32MP13, 2 OTP fuses can be used to configure NAND devices.
By default OTP CFG9 is used for sNAND. A new OTP (CFG10) is used
to configure raw NAND. Thanks to bit 0 of CFG10 OTP, this default
configuration can be switched.
For sNAND on STM32MP13, the NAND_PARAM_STORED_IN_OTP is not used.
The sNAND parameters have to be taken from OTP bits.

Change-Id: Ib95e0f9b9e66179a58b07f723ea01dce68b96475
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
plat/st/stm32mp1/stm32mp1_boot_device.c
plat/st/stm32mp1/stm32mp1_def.h