vboot: ec: add VbExEcBatteryCutOff callback.
The new API VbExEcBatteryCutOff was added in vboot and the callback has
to be provided in EC module.
The new cut-off function is planned to be supported only on new device
(i.e., those using Depthcharge) and not in U-Boot so the stub call here
simply returns error.
TEST=emerge-daisy_spring chromeos-u-boot chromeos-bootimage;
Signed-off-by: Hung-Te Lin <firstname.lastname@example.org>
Reviewed-by: Duncan Laurie <email@example.com>
1 file changed