diff options
-rw-r--r-- | util/ectool.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/ectool.c b/util/ectool.c index 7198694d26..ac6dbcb0d4 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -210,8 +210,8 @@ const char help_str[] = " Set 16 bit duty cycle of given PWM\n" " readtest <patternoffset> <size>\n" " Reads a pattern from the EC via LPC\n" - " reboot_ec <RO|RW|cold|hibernate|disable-jump> " - "[at-shutdown|switch-slot]\n" + " reboot_ec <RO|RW|cold|hibernate|hibernate-clear-ap-off|disable-jump>" + " [at-shutdown|switch-slot]\n" " Reboot EC to RO or RW\n" " rtcget\n" " Print real-time clock\n" @@ -744,6 +744,8 @@ int cmd_reboot_ec(int argc, char *argv[]) p.cmd = EC_REBOOT_DISABLE_JUMP; else if (!strcmp(argv[1], "hibernate")) p.cmd = EC_REBOOT_HIBERNATE; + else if (!strcmp(argv[1], "hibernate-clear-ap-off")) + p.cmd = EC_REBOOT_HIBERNATE_CLEAR_AP_OFF; else { fprintf(stderr, "Unknown command: %s\n", argv[1]); return -1; |