rockchip: rv1126: add some defination of secure otp
Include secure boot enable add rsa hash. Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I70c4b030238c01ee1b569521bd5e1b03c70cbc68
This commit is contained in:
parent
d4b31d1047
commit
5c0419f083
|
|
@ -28,7 +28,7 @@
|
|||
/* SPL */
|
||||
#define CONFIG_SPL_FRAMEWORK
|
||||
#define CONFIG_SPL_TEXT_BASE 0x00000000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x20000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x30000
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0x00600000
|
||||
#define CONFIG_SPL_BSS_MAX_SIZE 0x20000
|
||||
#define CONFIG_SPL_STACK 0x00600000
|
||||
|
|
@ -40,6 +40,11 @@
|
|||
#define OTP_UBOOT_ROLLBACK_OFFSET 0x1A /* word address */
|
||||
#define OTP_UBOOT_ROLLBACK_WORDS 2 /* 64 bits, 2 words */
|
||||
#define OTP_ALL_ONES_NUM_BITS 32
|
||||
#define OTP_SECURE_BOOT_ENABLE_ADDR 0x0
|
||||
#define OTP_SECURE_BOOT_ENABLE_SIZE 1
|
||||
#define OTP_RSA_HASH_ADDR 0x10
|
||||
#define OTP_RSA_HASH_SIZE 32
|
||||
#define OTP_RSA2048_C_SIZE 20
|
||||
|
||||
/* MMC/SD IP block */
|
||||
#define CONFIG_BOUNCE_BUFFER
|
||||
|
|
|
|||
Loading…
Reference in New Issue