]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(stm32mp1): new way to access platform OTP
authorLionel Debieve <lionel.debieve@st.com>
Mon, 4 Nov 2019 13:31:38 +0000 (14:31 +0100)
committerYann Gautier <yann.gautier@st.com>
Fri, 28 Jan 2022 17:04:52 +0000 (18:04 +0100)
commitae3ce8b28eac73e9a41fdb28424d9f0f4b5f200e
treed730b830e523787db32cd2eaaaa3b92f54aa1e33
parent375b79bb4a773fe6a5dd971272c72bf12155050e
feat(stm32mp1): new way to access platform OTP

Use dt_find_otp_name() to retrieve platform OTP information
from device tree, directly or through stm32_get_otp_index() and
stm32_get_otp_value() platform services.
String definitions replace hard-coded values, they are used to call
this new function.

Change-Id: I81213e4a9ad08fddadc2c97b064ae057a4c79561
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
Signed-off-by: Yann Gautier <yann.gautier@st.com>
plat/st/common/include/stm32mp_common.h
plat/st/common/include/stm32mp_dt.h
plat/st/common/stm32mp_common.c
plat/st/common/stm32mp_dt.c
plat/st/stm32mp1/stm32mp1_boot_device.c
plat/st/stm32mp1/stm32mp1_def.h
plat/st/stm32mp1/stm32mp1_private.c
plat/st/stm32mp1/stm32mp1_syscfg.c
plat/st/stm32mp1/stm32mp1_usb_dfu.c