From 3a94f0b1f8efc38fcf8971c78bdb2aad1ac99ca9 Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Thu, 24 Dec 2020 17:55:58 +0800 Subject: [PATCH] rockchip: rv1126: redefine the OTP_UBOOT_ROLLBACK_OFFSET Redefine it as byte address. Signed-off-by: Jason Zhu Change-Id: I0c29170aee1331681ba591c9638c00793f5a969f --- include/configs/rv1126_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rv1126_common.h b/include/configs/rv1126_common.h index 187a0b3514..12fb3bb93a 100644 --- a/include/configs/rv1126_common.h +++ b/include/configs/rv1126_common.h @@ -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