xref: /optee_os/core/arch/arm/plat-telechips/tcc805x/otprom.h (revision c1e657096ec2f9ad6a373ac3265600252689933e)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2024, Telechips Inc.
4  */
5 
6 #ifndef TCC805X_OTPROM_H
7 #define TCC805X_OTPROM_H
8 
9 #include <util.h>
10 
11 #define OTPROM_MAX			U(0x4000)
12 #define OTPROM_128_START		U(0x1000)
13 #define OTPROM_128_LIMIT		U(0x2000)
14 
15 /* HUK */
16 #define OTP_DATA_TEE_HUK_OFFSET		U(0x1ED0)
17 #define OTP_DATA_TEE_HUK_SIZE		U(0x10)
18 
19 #endif /* TCC805X_OTPROM_H */
20