drivers/eeprom: Retrieve the geometry

Add EEPIOC_GEOMETRY IOCTL command to retrieve the
EEPROM geometry.

Signed-off-by: Antoine Juckler <6445757+ajuckler@users.noreply.github.com>
This commit is contained in:
Antoine Juckler
2025-07-03 13:36:36 +09:00
committed by Alan C. Assis
parent f1506c6212
commit 934dfdf645
12 changed files with 425 additions and 223 deletions

View File

@@ -221,6 +221,12 @@ static const struct at25ee_geom_s g_at25ee_devices[] =
{
2, 0, 1, 1
}, /* AT25040B 512 8 1+bit */
{
9, 4, 2, 0
}, /* AT25512 65536 128 2 */
{
10, 5, 3, 0
}, /* AT25M01 131072 256 3 */
/* STM devices */