Home
last modified time | relevance | path

Searched refs:csf_hdr (Results 1 – 1 of 1) sorted by relevance

/u-boot/arch/arm/mach-imx/
A Dhab.c466 static int get_csf_cmd_hdr_len(u8 *csf_hdr) in get_csf_cmd_hdr_len() argument
468 if (*csf_hdr == HAB_CMD_HDR) in get_csf_cmd_hdr_len()
471 return get_hab_hdr_len((struct hab_hdr *)csf_hdr); in get_csf_cmd_hdr_len()
478 u8 *csf_hdr; in csf_is_valid() local
496 csf_hdr = (u8 *)ivt->csf; in csf_is_valid()
499 if (*csf_hdr != HAB_CMD_HDR) { in csf_is_valid()
504 csf_hdr_len = get_hab_hdr_len((struct hab_hdr *)csf_hdr); in csf_is_valid()
507 if (!chk_bounds(csf_hdr, csf_hdr_len, start, end)) { in csf_is_valid()
515 cmd = (struct hab_hdr *)&csf_hdr[offset]; in csf_is_valid()
533 cmd_hdr_len = get_csf_cmd_hdr_len(&csf_hdr[offset]); in csf_is_valid()

Completed in 4 milliseconds