/* Read the bad block marker inside a spare area buffer using the given scheme.  */
void nand_flash_spare_scheme_read_bad_block_marker(const struct nand_flash_spare_scheme *scheme, const uint8_t *spare, uint8_t *marker)
/* Read the bad block marker inside a spare area buffer using the given scheme.  */
void nand_flash_spare_scheme_read_bad_block_marker(const struct nand_flash_spare_scheme *scheme, const uint8_t *spare, uint8_t *marker)
{
	*marker = spare[scheme->bad_block_marker_position];
}