[coreboot-gerrit] Patch merged into coreboot/master: ec/lenovo/h8: move charge priority into own function