Commit 27cac33a authored by Thomas Schäfer's avatar Thomas Schäfer
Browse files

pitx-imx8m: prepare KEU EEPROM bootcunter support



- initialize boot counter in EEPROM if boot counter support is
  enabled in defconfig
Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>
parent d2e4ec11
......@@ -491,6 +491,12 @@ int board_late_init(void)
board_late_mmc_env_init();
#endif
#ifndef CONFIG_SPL_BUILD
#if defined(CONFIG_KEX_EEP_BOOTCOUNTER)
emb_eep_update_bootcounter(1);
#endif
#endif
return 0;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment