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