summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_vbios.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_phys_vbios.c')
-rw-r--r--kernel/gsp_phys_vbios.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/gsp_phys_vbios.c b/kernel/gsp_phys_vbios.c
index 33fb389..50b17df 100644
--- a/kernel/gsp_phys_vbios.c
+++ b/kernel/gsp_phys_vbios.c
@@ -719,8 +719,10 @@ int gsp_phys_vbios_parse_fwsec(struct gsp_phys_vbios *img,
if (gsp_phys_img_read(img, data_ptr, 4,
&binver) &&
gsp_phys_img_read(img, data_ptr + 4, 1,
- &oem))
+ &oem)) {
version = ((u64)binver << 8) | oem;
+ img->version = version;
+ }
}
if (token_id != GSP_PHYS_BIT_TOKEN_FALCON_DATA ||