rockchip: rv1126: redefine the OTP_UBOOT_ROLLBACK_OFFSET

Redefine it as byte address.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I0c29170aee1331681ba591c9638c00793f5a969f
This commit is contained in:
Jason Zhu 2020-12-24 17:55:58 +08:00
parent 5c9deb91df
commit 3a94f0b1f8
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
#define GICC_BASE 0xfeff2000
/* secure boot otp rollback */
#define OTP_UBOOT_ROLLBACK_OFFSET 0x1A /* word address */
#define OTP_UBOOT_ROLLBACK_OFFSET 0x68
#define OTP_UBOOT_ROLLBACK_WORDS 2 /* 64 bits, 2 words */
#define OTP_ALL_ONES_NUM_BITS 32
#define OTP_SECURE_BOOT_ENABLE_ADDR 0x0