aboutsummaryrefslogtreecommitdiff
path: root/board/thead/light-c910/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/thead/light-c910/boot.c')
-rw-r--r--board/thead/light-c910/boot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/thead/light-c910/boot.c b/board/thead/light-c910/boot.c
index 24f3776f..8bc067a7 100644
--- a/board/thead/light-c910/boot.c
+++ b/board/thead/light-c910/boot.c
@@ -709,10 +709,12 @@ void sec_firmware_version_dump(void)
tf_ver_env = env_get_hex("tf_version", 0);
if ((tee_ver_env != tee_ver) && (tee_ver != 0)) {
env_set_hex("tee_version", tee_ver);
+ run_command("saveenv", 0);
}
if ((tf_ver_env != tf_ver) && (tf_ver != 0)) {
env_set_hex("tf_version", tf_ver);
+ run_command("saveenv", 0);
}
printf("\n\n");