Re: [PATCH rtems6 - v1 08/16] Flashdev: Add IOCTL to get the erase size

2024-01-04 Thread Kinsey Moore
I thought that erase size was in the page information returned by the relevant IOCTLs, but I apparently overlooked that. You'll need to implement this similarly to how the page information retrieval is implemented or possibly merge block/sector information in with that returned data. IIRC, NOR devi

[PATCH rtems6 - v1 08/16] Flashdev: Add IOCTL to get the erase size

2024-01-04 Thread berndmoessner80
From: Bernd Moessner --- cpukit/dev/flash/flashdev.c | 24 +++ cpukit/include/dev/flash/flashdev.h | 21 + cpukit/libmisc/shell/main_flashdev.c | 28 + testsuites/libtests/flashdev01/init.c | 14 ++--- .../l