rockchip: rk3568: add some defination of secure otp
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I493e409a447e48111674683fd24746c5a2cc6553
This commit is contained in:
parent
9b12595b4e
commit
219085f099
|
|
@ -29,6 +29,15 @@
|
||||||
#define GICR_BASE 0xfd460000
|
#define GICR_BASE 0xfd460000
|
||||||
#define GICC_BASE 0xfd800000
|
#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 */
|
/* MMC/SD IP block */
|
||||||
#define CONFIG_BOUNCE_BUFFER
|
#define CONFIG_BOUNCE_BUFFER
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue