[PATCH v3 1/3] reboot-mode: add support for reboot mode control