hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2021 Rockchip Electronics Co. Ltd.
 */
 
#ifndef RK_OEM_OTP_H
#define RK_OEM_OTP_H
 
#include <stdint.h>
 
TEE_Result rk_otp_read(uint32_t offset, uint8_t *data, uint32_t len);
TEE_Result rk_otp_write(uint32_t offset, uint8_t *data, uint32_t len);
TEE_Result rk_otp_size(uint32_t *otp_size);
 
#endif /* RK_OEM_OTP_H */