mirror of
https://github.com/apache/nuttx.git
synced 2026-03-23 22:33:28 +08:00
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:
committed by
Alan C. Assis
parent
f1506c6212
commit
934dfdf645
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user