12#if EFI_CONFIGURATION_STORAGE || defined(EFI_UNIT_TEST)
17#if EFI_CONFIGURATION_STORAGE
35#if EFI_CONFIGURATION_STORAGE
38 efiPrintf(
"Scheduling FORCED write");
44 efiPrintf(
"Scheduling write");
120 efiPrintf(
"Need to reset flash to default due to CRC mismatch");
135 efiPrintf(
"Read valid configuration from flash!");
void addConsoleAction(const char *token, Void callback)
Register console action without parameters.
Console package entry point header.
static EngineAccessor engine
void applyNonPersistentConfiguration()
void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e engineType)
static constexpr engine_configuration_s * engineConfiguration
persistent_config_container_s persistentState
bool warning(ObdCode code, const char *fmt,...)
static StorageStatus validatePersistentState()
bool writeToFlashNowImpl()
void setNeedToWriteConfiguration()
static void doWriteLTFT()
static StorageStatus readConfiguration()
static void doRewriteConfig()
static void doResetConfiguration()
bool settingsLtftRequestWriteToFlash()
static void doWriteConfigurationToFlash()
@ CUSTOM_ERR_FLASH_CRC_FAILED
StorageStatus storageRead(StorageItemId id, uint8_t *ptr, size_t size)
bool storageRequestWriteID(StorageItemId id, bool forced)
StorageStatus storageWrite(StorageItemId id, const uint8_t *ptr, size_t size)
@ EFI_SETTINGS_BACKUP_RECORD_ID