Home
last modified time | relevance | path

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

/openbmc/u-boot/disk/
H A Dpart_efi.c81 uint32_t crc32_backup = 0; in validate_gpt_header() local
94 memcpy(&crc32_backup, &gpt_h->header_crc32, sizeof(crc32_backup)); in validate_gpt_header()
100 memcpy(&gpt_h->header_crc32, &crc32_backup, sizeof(crc32_backup)); in validate_gpt_header()
102 if (calc_crc32 != le32_to_cpu(crc32_backup)) { in validate_gpt_header()
105 le32_to_cpu(crc32_backup), calc_crc32); in validate_gpt_header()