Skip to content
Snippets Groups Projects
Commit 8e379471 authored by Xuhui Lin's avatar Xuhui Lin Committed by Jianhong Chen
Browse files

include: configs: Add burn secure-otp rsa4096 flag support


For rk3568, rsa4096 flag and secureboot flag should be
burned together because of ecc enable.

Change-Id: I75e6171d37abc589f433462d0f055df01e604799
Signed-off-by: default avatarXuhui Lin <xuhui.lin@rock-chips.com>
parent f8e13adf
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,8 @@
#define OTP_ALL_ONES_NUM_BITS 32
#define OTP_SECURE_BOOT_ENABLE_ADDR 0x20
#define OTP_SECURE_BOOT_ENABLE_SIZE 1
#define OTP_RSA4096_ENABLE_ADDR 0x21
#define OTP_RSA4096_ENABLE_SIZE 1
#define OTP_RSA_HASH_ADDR 0x180
#define OTP_RSA_HASH_SIZE 32
......
......@@ -42,6 +42,8 @@
#define OTP_ALL_ONES_NUM_BITS 32
#define OTP_SECURE_BOOT_ENABLE_ADDR 0x20
#define OTP_SECURE_BOOT_ENABLE_SIZE 1
#define OTP_RSA4096_ENABLE_ADDR 0x21
#define OTP_RSA4096_ENABLE_SIZE 1
#define OTP_RSA_HASH_ADDR 0x180
#define OTP_RSA_HASH_SIZE 32
......
......@@ -47,6 +47,9 @@
#define OTP_ALL_ONES_NUM_BITS 32
#define OTP_SECURE_BOOT_ENABLE_ADDR 0x80
#define OTP_SECURE_BOOT_ENABLE_SIZE 2
#ifdef CONFIG_FIT_ENABLE_RSA4096_SUPPORT
#define OTP_SECURE_BOOT_ENABLE_VALUE 0x30ff
#endif
#define OTP_RSA_HASH_ADDR 0x90
#define OTP_RSA_HASH_SIZE 32
......
......@@ -45,6 +45,8 @@
#define OTP_ALL_ONES_NUM_BITS 32
#define OTP_SECURE_BOOT_ENABLE_ADDR 0x20
#define OTP_SECURE_BOOT_ENABLE_SIZE 1
#define OTP_RSA4096_ENABLE_ADDR 0x21
#define OTP_RSA4096_ENABLE_SIZE 1
#define OTP_RSA_HASH_ADDR 0x9c0
#define OTP_RSA_HASH_SIZE 32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment