/* 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)
{
	flash_api_memcpy(FLASH_API_BASE_ADDRESS + dst, src, nbytes, false);
}