Move IntelFru Template To Export
Also rename it to EEPROM as this caused some confusion
at the hackathon
Change-Id: I8469456c249531f8db744625987a0f27dded1dd3
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/devices.hpp b/include/devices.hpp
index 77afe55..95cdd96 100644
--- a/include/devices.hpp
+++ b/include/devices.hpp
@@ -38,7 +38,9 @@
const boost::container::flat_map<const char *, ExportTemplate, CmpStr>
exportTemplates{
- {{"PCA9543Mux",
+ {{"EEPROM", ExportTemplate("eeprom $Address",
+ "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+ {"PCA9543Mux",
ExportTemplate("pca9543 $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"PCA9545Mux",
@@ -47,9 +49,7 @@
{"pmbus", ExportTemplate("pmbus $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"TMP75", ExportTemplate("tmp75 $Address",
- "/sys/bus/i2c/devices/i2c-$Bus/new_device")
-
- },
+ "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"TMP421", ExportTemplate("tmp421 $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"SkylakeCPU",