summaryrefslogtreecommitdiff
path: root/chip/g/factory_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/g/factory_config.h')
-rw-r--r--chip/g/factory_config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chip/g/factory_config.h b/chip/g/factory_config.h
index 26345c1eb9..4f0de5fc3a 100644
--- a/chip/g/factory_config.h
+++ b/chip/g/factory_config.h
@@ -13,4 +13,11 @@
*/
void print_factory_config(void);
+/**
+ * Read the INFO1 factory config value into fc.
+ *
+ * @return EC_SUCCESS or an error code in cases of various failures to read the
+ * flash space.
+ */
+int read_factory_config(uint64_t *fc);
#endif /* ! __EC_CHIP_G_FACTORY_CONFIG_H */