summaryrefslogtreecommitdiffstats
path: root/src/usr/i2c/eepromdd.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/i2c/eepromdd.H')
-rwxr-xr-xsrc/usr/i2c/eepromdd.H4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/i2c/eepromdd.H b/src/usr/i2c/eepromdd.H
index 19eb0a7e3..b184f2b38 100755
--- a/src/usr/i2c/eepromdd.H
+++ b/src/usr/i2c/eepromdd.H
@@ -68,6 +68,7 @@ typedef struct
TARGETING::EntityPath i2cMasterPath;
uint64_t writePageSize; // in bytes
uint64_t devSize_KB; // in kilobytes
+ uint64_t chipCount; // number of chips making up eeprom device
uint64_t writeCycleTime; // in milliseconds
} eeprom_addr_t;
@@ -76,7 +77,8 @@ typedef struct
*/
enum
{
- EEPROM_PAGE_SIZE = 0x100
+ EEPROM_PAGE_SIZE = 0x100,
+ EEPROM_DEVADDR_INC = 2
};
/**
OpenPOWER on IntegriCloud