summaryrefslogtreecommitdiffstats
path: root/src/include/usr/i2c
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2015-06-18 10:35:57 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-07-17 09:14:12 -0500
commit06ffb0d8868e0bd3143447d913932d72614f6c62 (patch)
tree17241f2333e1c2b71da0cc8e37437d61e0491399 /src/include/usr/i2c
parent4f9645ad560101c0bbe2abeb034e29e192ed90f2 (diff)
downloadtalos-hostboot-06ffb0d8868e0bd3143447d913932d72614f6c62.tar.gz
talos-hostboot-06ffb0d8868e0bd3143447d913932d72614f6c62.zip
Generate error when I2C writePageSize is zero
Change-Id: Iabfcc2ae99af78c392b5e2edaeec26150fe27a05 RTC:123567 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18604 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/i2c')
-rw-r--r--src/include/usr/i2c/eepromddreasoncodes.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/usr/i2c/eepromddreasoncodes.H b/src/include/usr/i2c/eepromddreasoncodes.H
index 2137f807d..454d10851 100644
--- a/src/include/usr/i2c/eepromddreasoncodes.H
+++ b/src/include/usr/i2c/eepromddreasoncodes.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2014 */
+/* Contributors Listed Below - COPYRIGHT 2011,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -73,6 +73,7 @@ enum eepromReasonCode
EEPROM_TARGET_NULL = EEPROM_COMP_ID | 0x06,
EEPROM_INVALID_ADDR_OFFSET_SIZE = EEPROM_COMP_ID | 0x07,
EEPROM_OVERFLOW_ERROR = EEPROM_COMP_ID | 0x08,
+ EEPROM_I2C_WRITE_PAGE_SIZE_ZERO = EEPROM_COMP_ID | 0x09,
};
enum UserDetailsTypes
OpenPOWER on IntegriCloud