Skip to content

Commit

Permalink
renesas_rz: Made sure to register the mass erase handler for these parts
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Mar 10, 2024
1 parent f01dc6f commit fa79ab6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/target/renesas_rz.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ static void renesas_rz_add_flash(target_s *const target)
/* Put the controller back into bus usage mode */
target_mem_write32(target, RENESAS_MULTI_IO_SPI_COMMON_CTRL,
target_mem_read32(target, RENESAS_MULTI_IO_SPI_COMMON_CTRL) & ~RENESAS_MULTI_IO_SPI_COMMON_CTRL_MODE_SPI);

/* Register the SPI Flash mass erase implementation for mass erase */
target->mass_erase = bmp_spi_mass_erase;
}

bool renesas_rz_probe(target_s *const target)
Expand Down

0 comments on commit fa79ab6

Please sign in to comment.