static int is_gpt_valid(block_dev_desc_t * dev_desc, unsigned long long lba,
gpt_header * pgpt_head, gpt_entry ** pgpt_pte);
+#ifdef CONFIG_GPT_FORMAT_VALID
#ifdef CONFIG_EMMC_BOOT
static int format_gpt_valid(block_dev_desc_t * dev_desc, unsigned long long lba,
gpt_header * pgpt_head, gpt_entry ** pgpt_pte);
#endif
+#endif /* CONFIG_GPT_FORMAT_VALID */
static gpt_entry *alloc_read_gpt_entries(block_dev_desc_t * dev_desc,
gpt_header * pgpt_head);
return 1;
}
+#ifdef CONFIG_GPT_FORMAT_VALID
#ifdef CONFIG_EMMC_BOOT
/**
* format_gpt_valid() - tests one GPT header and PTEs for validity
return 1;
}
#endif
+#endif /* CONFIG_GPT_FORMAT_VALID */
/**
* alloc_read_gpt_entries(): reads partition entries from disk