target/renesas: remove extra flash write check

This commit is contained in:
Rafael Silva 2022-08-23 14:28:24 +01:00 committed by Rachel Mant
parent 2f3c2c20a1
commit 8b03038b44
1 changed files with 0 additions and 5 deletions

View File

@ -585,11 +585,6 @@ static int renesas_rv40_flash_write(target_flash_s *f, target_addr_t dest, const
/* copy data from source address to destination */
target_mem_write16(t, RV40_CMD, *(uint16_t *)src);
while (target_mem_read32(t, RV40_FSTATR) & RV40_FSTATR_DBFULL) {
if (target_check_error(t) || platform_timeout_is_expired(&timeout))
return -1;
}
/* 2 bytes of data */
src += 2U;
}