Tomas Vanek
2db325f539
flash/nor/nrf5: drop nrf5_get_probed_chip_if_halted()
...
nrf5_get_probed_chip_if_halted() was somewhat bizarre
combination of functions:
- test if the target is halted is appropriate for flash
erase/write only, certainly not for getting chip info
- getting chip pointer takes place more frequently
and using one temporary variable for dereference
makes no harm
- probing chip is useless at all as the flash
infrastructure always calls auto_probe() before
entering a flash operation
Replace the function by ordinary and readable code.
Change-Id: Ic31f4e33d8b7b36687be3f40bfd0fe913d17b75f
Signed-off-by: Tomas Vanek <vanekt@fbl.cz >
Reviewed-on: https://review.openocd.org/c/openocd/+/8107
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com >
2024-03-09 11:02:02 +00:00
..
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2023-05-18 10:07:34 +00:00
2023-05-18 10:07:34 +00:00
2022-09-18 08:22:01 +00:00
2023-09-23 14:31:25 +00:00
2023-05-05 22:08:01 +00:00
2022-09-18 08:22:01 +00:00
2023-05-05 22:08:01 +00:00
2023-05-18 10:07:34 +00:00
2023-01-15 14:47:30 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2023-09-23 14:31:25 +00:00
2022-09-13 22:13:50 +00:00
2023-09-23 14:31:25 +00:00
2022-09-13 22:13:50 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2022-09-18 08:22:01 +00:00
2023-05-27 06:44:31 +00:00
2023-06-10 16:58:35 +00:00
2023-06-10 16:58:35 +00:00
2022-09-18 08:22:01 +00:00
2023-08-26 11:35:06 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2023-09-23 14:33:37 +00:00
2022-09-18 08:22:01 +00:00
2024-01-06 13:54:09 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-12-03 09:24:59 +00:00
2022-09-18 08:22:01 +00:00
2023-06-10 16:58:35 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2023-05-05 22:08:38 +00:00
2022-09-13 22:13:50 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2023-09-23 14:31:25 +00:00
2024-03-09 11:02:02 +00:00
2023-05-05 22:08:21 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2023-11-18 11:34:49 +00:00
2023-06-02 20:58:36 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2023-06-10 16:58:35 +00:00
2022-09-18 08:22:01 +00:00
2023-05-27 06:41:17 +00:00
2023-11-18 11:15:47 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2023-10-27 11:41:11 +00:00
2022-07-23 13:16:27 +00:00
2023-05-05 22:08:38 +00:00
2023-12-30 13:13:24 +00:00
2023-11-18 11:32:40 +00:00
2023-11-18 11:33:09 +00:00
2023-11-18 11:33:53 +00:00
2023-09-19 05:17:09 +00:00
2022-11-28 22:23:47 +00:00
2023-11-18 11:35:13 +00:00
2022-07-23 13:16:27 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2023-05-18 10:07:34 +00:00
2023-05-27 06:44:31 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2024-02-15 09:00:50 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00