Skip to content
Snippets Groups Projects
Commit 6849cc07 authored by Xuhui Lin's avatar Xuhui Lin Committed by Jianhong Chen
Browse files

lib: rsa: Add 3s delay before write secure otp


Delay 3 seconds to make sure power supply is steady.

Change-Id: Ieefae68fa52f23efb7315221d425b31650ae0883
Signed-off-by: default avatarXuhui Lin <xuhui.lin@rock-chips.com>
parent e3030139
No related branches found
No related tags found
No related merge requests found
......@@ -639,6 +639,10 @@ int rsa_burn_key_hash(struct image_sign_info *info)
if (!(prop.burn_key))
return 0;
/* Delay 3 seconds to make sure power supply is steady. */
printf("Waiting for power supply steady. Please don't turn off the device\n");
mdelay(3000);
/* Handle burn_key_hash process from now on */
dev = misc_otp_get_device(OTP_S);
if (!dev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment