Searched refs:misc_device (Results 1 – 1 of 1) sorted by relevance
/device/amlogic/yukawa/hal/bootctrl/ |
D | boot_control.cc | 36 const char* misc_device; member 58 static bool LoadBootloaderControl(const char* misc_device, in LoadBootloaderControl() argument 61 if (read_bootloader_control_from(boot_ctrl, misc_device, &str_err)) in LoadBootloaderControl() 69 static bool SaveBootloaderControl(const char* misc_device, in SaveBootloaderControl() argument 74 if (write_bootloader_control_to(boot_ctrl, misc_device, &str_err)) in SaveBootloaderControl() 128 bootctrl_module->misc_device = strdup(device.c_str()); in BootControlInit() 185 if (!LoadBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in IsSlotMarkedSuccessful() 199 if (!LoadBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in MarkBootSuccessful() 207 if (!SaveBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in MarkBootSuccessful() 229 if (!LoadBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in SetActiveBootSlot() [all …]
|