mspm0: Removed unnecessary diagnostics (target Flash API already provides them)

This commit is contained in:
dragonmux
2025-10-02 09:53:09 +01:00
parent 3059f8eb49
commit de1d930b45

View File

@@ -297,8 +297,6 @@ static bool mspm0_flash_erase(target_flash_s *const target_flash, const target_a
target_s *const target = target_flash->t;
DEBUG_INFO("%s: Erasing flash addr %08" PRIx32 " length %08" PRIx32 "\n", __func__, addr, (uint32_t)length);
mspm0_flash_unprotect_sector(target_flash, addr);
target_mem32_write32(
target, MSPM0_FLASHCTL_CMDTYPE, MSPM0_FLASHCTL_CMDTYPE_SZ_SECTOR | MSPM0_FLASHCTL_CMDTYPE_ERASE);