aboutsummaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorArtur Rojek <artur@conclusive.pl>2023-10-18 16:00:57 +0200
committerEugen Hristev <eugen.hristev@collabora.com>2023-10-23 17:07:06 +0300
commit6092ce50efa62806661e5488e0ad72050f0d9827 (patch)
treeaeca76dd72d391c9e88841517b33faa22a20fb1b /common/board_r.c
parentcd3dbb56874dbf0f85c4c36958e29c2515374a6b (diff)
event: add new EVT_SETTINGS_R event
Introduce EVT_SETTINGS_R, triggered post-relocation and before console init. This event gives an option to perform any platform-dependent setup, which needs to take place before show_board_info(). Usage examples include readout of EEPROM stored settings. Signed-off-by: Artur Rojek <artur@conclusive.pl> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 52786901be..a7967849dc 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -693,6 +693,7 @@ static init_fnc_t init_sequence_r[] = {
#if defined(CONFIG_ID_EEPROM)
mac_read_from_eeprom,
#endif
+ INITCALL_EVENT(EVT_SETTINGS_R),
INIT_FUNC_WATCHDOG_RESET
#if defined(CONFIG_PCI_INIT_R) && !defined(CONFIG_SYS_EARLY_PCI_INIT)
/*