Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-imx/
Dhab.c419 static int get_csf_cmd_hdr_len(u8 *csf_hdr) in get_csf_cmd_hdr_len() argument
421 if (*csf_hdr == HAB_CMD_HDR) in get_csf_cmd_hdr_len()
424 return get_hab_hdr_len((struct hab_hdr *)csf_hdr); in get_csf_cmd_hdr_len()
431 u8 *csf_hdr; in csf_is_valid() local
449 csf_hdr = (u8 *)ivt->csf; in csf_is_valid()
452 if (*csf_hdr != HAB_CMD_HDR) { in csf_is_valid()
457 csf_hdr_len = get_hab_hdr_len((struct hab_hdr *)csf_hdr); in csf_is_valid()
460 if (!chk_bounds(csf_hdr, csf_hdr_len, start, end)) { in csf_is_valid()
468 cmd = (struct hab_hdr *)&csf_hdr[offset]; in csf_is_valid()
486 cmd_hdr_len = get_csf_cmd_hdr_len(&csf_hdr[offset]); in csf_is_valid()