summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--baseboard/brya/cbi.c6
-rw-r--r--baseboard/brya/cbi.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/baseboard/brya/cbi.c b/baseboard/brya/cbi.c
index 791abbab88..ded310bffc 100644
--- a/baseboard/brya/cbi.c
+++ b/baseboard/brya/cbi.c
@@ -28,6 +28,10 @@ __overridable void board_init_fw_config(void)
{
}
+__overridable void board_init_ssfc(void)
+{
+}
+
/*
* Read CBI from I2C EEPROM and initialize variables for board variants.
*/
@@ -46,6 +50,8 @@ static void cbi_init(void)
board_init_fw_config();
+ board_init_ssfc();
+
/* Allow the board project to make runtime changes based on CBI data */
board_cbi_init();
}
diff --git a/baseboard/brya/cbi.h b/baseboard/brya/cbi.h
index 10ecfd87e7..2ad70aff96 100644
--- a/baseboard/brya/cbi.h
+++ b/baseboard/brya/cbi.h
@@ -29,4 +29,10 @@ __override_proto void board_cbi_init(void);
*/
__override_proto void board_init_fw_config(void);
+/**
+ * Initialize the SSFC from CBI data. If the CBI data is not valid, set the
+ * SSFC to the board specific defaults.
+ */
+__override_proto void board_init_ssfc(void);
+
#endif /* __CROS_EC_BASEBOARD_CBI_H */