Aaron Nyholm
87c725b6ed
flashdev: Add sector IOCTLs
...
Added new IOCTLs to flashdev to get sector info.
Updated flashdev shell command and flashdev test with new IOCTLs.
2024-11-06 22:35:20 +00:00
Bernd Moessner
a73b52d6a4
flashdev.c: return error if both buffers are NULL
...
Updates #4981
2024-01-16 10:57:43 -06:00
Bernd Moessner
bd898b503f
flashdev: Add missing default case
...
Updates #4981
2024-01-16 10:57:43 -06:00
Aaron Nyholm
4b209a322e
cpukit/flash: Correct erase ioctl address
...
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.
2023-06-27 07:50:40 +10:00
Aaron Nyholm
15d4428e96
cpukit/flash: Add API for Flash devices
2023-05-16 12:48:13 +10:00