Re: [PATCH] cpukit/flash: Correct erase ioctl address

2023-06-26 Thread Chris Johns
Pushed and thanks Chris On 26/6/2023 3:29 pm, aaron.nyh...@unfoldedeffective.com wrote: > From: Aaron Nyholm > > Previously, the erase ioctl call would ignore flash regions and erase at > the absolute address passed in. This adds a check for if the region is > set and adds the region offset

[PATCH] cpukit/flash: Correct erase ioctl address

2023-06-26 Thread aaron . nyholm
From: Aaron Nyholm Previously, the erase ioctl call would ignore flash regions and erase at the absolute address passed in. This adds a check for if the region is set and adds the region offset accordingly. --- cpukit/dev/flash/flashdev.c | 43 ++--- 1 file