spi_nor_regions_sort_erase_types
spi_nor_regions_sort_erase_types(map);
spi_nor_regions_sort_erase_types(&nor->params->erase_map);