/* Copy a RAM buffer to a flash memory section.  */
static void mem_flash_write(isp_addr_t dst, const void *src, uint16_t nbytes)
/* Copy a RAM buffer to a flash memory section.  */
static void mem_flash_write(isp_addr_t dst, const void *src, uint16_t nbytes)
{
	nvm_flash_erase_and_write_buffer(dst, src, nbytes, true);
}