Add 24C04, 24C08, 24C16, 24C32, 24C128 and 24C256 EEPROMs
Add these EEPROMs:
24C04 / 24C08 / 24C16 : 8-bit addressing
24C32 / 24C128 / 24C256 : 16-bit addressing
Tested: 24C08 and 24C128 were exposed via configuration.
Signed-off-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com>
Change-Id: Ie3ff2060f7bc1ef7891daa7ae97037c74a0fdeec
diff --git a/include/devices.hpp b/include/devices.hpp
index 949e2fe..7168143 100644
--- a/include/devices.hpp
+++ b/include/devices.hpp
@@ -51,9 +51,27 @@
{"EEPROM_24C02",
ExportTemplate("24c02 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device", false)},
+ {"EEPROM_24C04",
+ ExportTemplate("24c04 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device", false)},
+ {"EEPROM_24C08",
+ ExportTemplate("24c08 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device", false)},
+ {"EEPROM_24C16",
+ ExportTemplate("24c16 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device", false)},
+ {"EEPROM_24C32",
+ ExportTemplate("24c32 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device", false)},
{"EEPROM_24C64",
ExportTemplate("24c64 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device", false)},
+ {"EEPROM_24C128",
+ ExportTemplate("24c128 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device", false)},
+ {"EEPROM_24C256",
+ ExportTemplate("24c256 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device", false)},
{"ADM1266",
ExportTemplate("adm1266 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device", false)},