Home
last modified time | relevance | path

Searched refs:result_erase (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/flash/
Dflash_shell.c521 int result_erase = 0; in cmd_erase_write_test() local
530 result_erase = parse_helper(sh, &argc, &argv, &flash_dev, &addr); in cmd_erase_write_test()
531 if (result_erase) { in cmd_erase_write_test()
532 return result_erase; in cmd_erase_write_test()
535 result_erase = read_write_erase_validate(sh, argc, argv, &size, &repeat); in cmd_erase_write_test()
536 if (result_erase) { in cmd_erase_write_test()
537 return result_erase; in cmd_erase_write_test()
546 result_erase = flash_erase(flash_dev, addr, size); in cmd_erase_write_test()
550 if (result_erase) { in cmd_erase_write_test()
551 shell_error(sh, "Erase failed: %d", result_erase); in cmd_erase_write_test()
[all …]