Home
last modified time | relevance | path

Searched refs:otp_name (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-a-latest/plat/st/common/
Dstm32mp_common.c136 int stm32_get_otp_index(const char *otp_name, uint32_t *otp_idx, in stm32_get_otp_index() argument
139 assert(otp_name != NULL); in stm32_get_otp_index()
142 return dt_find_otp_name(otp_name, otp_idx, otp_len); in stm32_get_otp_index()
145 int stm32_get_otp_value(const char *otp_name, uint32_t *otp_val) in stm32_get_otp_value() argument
149 assert(otp_name != NULL); in stm32_get_otp_value()
152 if (stm32_get_otp_index(otp_name, &otp_idx, NULL) != 0) { in stm32_get_otp_value()
157 ERROR("BSEC: %s Read Error\n", otp_name); in stm32_get_otp_value()
Dstm32mp_trusted_boot.c31 static int copy_hash_from_otp(const char *otp_name, uint8_t *hash, size_t len) in copy_hash_from_otp() argument
40 if (stm32_get_otp_index(otp_name, &otp_idx, &otp_len) != 0) { in copy_hash_from_otp()
41 VERBOSE("%s: get %s index error\n", __func__, otp_name); in copy_hash_from_otp()
/trusted-firmware-a-latest/plat/st/common/include/
Dstm32mp_common.h47 int stm32_get_otp_index(const char *otp_name, uint32_t *otp_idx,
49 int stm32_get_otp_value(const char *otp_name, uint32_t *otp_val);