Home
last modified time | relevance | path

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

/openbmc/u-boot/cmd/
H A Dotp.c115 struct otp_header { struct
1926 struct otp_header *otp_header; in otp_prog_image() local
1937 otp_header = map_physmem(addr, sizeof(struct otp_header), MAP_WRBACK); in otp_prog_image()
1938 if (!otp_header) { in otp_prog_image()
1944 unmap_physmem(otp_header, MAP_WRBACK); in otp_prog_image()
1952 otp_header = (struct otp_header *)buf; in otp_prog_image()
1953 checksum = buf + otp_header->checksum_offset; in otp_prog_image()
1977 if (otp_header->soc_ver == SOC_AST2600A0) { in otp_prog_image()
2019 if (otp_header->image_info & OTP_INC_DATA) { in otp_prog_image()
2049 if (otp_header->image_info & OTP_INC_STRAP) { in otp_prog_image()
[all …]