blob: eea9a9434dc919d496d66a71bea1c497e0aa9e79 [file] [log] [blame]
// Copyright 2023 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "libec/reboot_ec_command.h"
namespace ec {
RebootEcCommand::RebootEcCommand(enum ec_reboot_cmd cmd,
enum reboot_ec::flags flags)
: EcCommand(EC_CMD_REBOOT_EC) {
Req()->cmd = cmd;
Req()->flags = flags;
}
} // namespace ec