diff --git a/include/configs/rk3528_common.h b/include/configs/rk3528_common.h index 78548bd36f32073257574683387b4ef971d02fa2..7a3abf23d1c67f70616746e16857ced2784e64d9 100644 --- a/include/configs/rk3528_common.h +++ b/include/configs/rk3528_common.h @@ -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 diff --git a/include/configs/rk3562_common.h b/include/configs/rk3562_common.h index 6d618db25e7c3e7c6510e264b8765e0c8e3eb174..e248350c5f61b6694b11b200275194a0d72e54cf 100644 --- a/include/configs/rk3562_common.h +++ b/include/configs/rk3562_common.h @@ -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 diff --git a/include/configs/rk3568_common.h b/include/configs/rk3568_common.h index 83f5590dee8158450e7058170987e5413ff626d0..11381dec65ae5a0f2fecebdc05d597c8ff0d23bc 100644 --- a/include/configs/rk3568_common.h +++ b/include/configs/rk3568_common.h @@ -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 diff --git a/include/configs/rk3588_common.h b/include/configs/rk3588_common.h index 67a816a33f1170d3d1a8bf7a640c070ef06be9f3..8caa5778a5fb5547c06706990fc5dabb05c199ae 100644 --- a/include/configs/rk3588_common.h +++ b/include/configs/rk3588_common.h @@ -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