Lines Matching refs:version
33 u32 version; member
42 u32 version; member
64 static int tftpfw_version_set(u32 version) in tftpfw_version_set() argument
68 ret = vendor_storage_write(FIRMWARE_VER_ID, &version, sizeof(version)); in tftpfw_version_set()
75 u32 version; in tftpfw_version_get() local
78 ret = vendor_storage_read(FIRMWARE_VER_ID, &version, sizeof(version)); in tftpfw_version_get()
81 version = 0; /* first initial as 0 */ in tftpfw_version_get()
83 ret = tftpfw_version_set(version); in tftpfw_version_get()
91 return version; in tftpfw_version_get()
277 printf(" version: %d\n", hdr->version); in print_hdr_local()
287 printf(" version: %d\n", local->version); in print_hdr_local()
300 hdr->version = fdtdec_get_uint(fit, 0, "version", 0); in hdr_param_verify()
315 return local->version; in hdr_param_verify()
317 local->version = ret; in hdr_param_verify()
347 if (hdr->version < local->version) { in hdr_param_verify()
349 hdr->version, local->version); in hdr_param_verify()
408 ret = tftpfw_version_set(hdr->version); in update_local_info()
413 printf("fw_version=%d ", hdr->version); in update_local_info()