diff --git a/include/configs/rk3568_common.h b/include/configs/rk3568_common.h index c35e339aa9..65d7e91ea9 100644 --- a/include/configs/rk3568_common.h +++ b/include/configs/rk3568_common.h @@ -29,6 +29,15 @@ #define GICR_BASE 0xfd460000 #define GICC_BASE 0xfd800000 +/* secure otp */ +#define OTP_UBOOT_ROLLBACK_OFFSET 0xe0 +#define OTP_UBOOT_ROLLBACK_WORDS 2 /* 64 bits, 2 words */ +#define OTP_ALL_ONES_NUM_BITS 32 +#define OTP_SECURE_BOOT_ENABLE_ADDR 0x80 +#define OTP_SECURE_BOOT_ENABLE_SIZE 2 +#define OTP_RSA_HASH_ADDR 0x90 +#define OTP_RSA_HASH_SIZE 32 + /* MMC/SD IP block */ #define CONFIG_BOUNCE_BUFFER