blob: d7c89d5669ecc547f48e52248ffd93430af8aec1 [file] [log] [blame]
#pragma once
#include <cstdint>
namespace ipmi_flash
{
class FirmwareFlags
{
public:
enum UpdateFlags : std::uint16_t
{
openRead = (1 << 0), /* Flag for reading. */
openWrite = (1 << 1), /* Flag for writing. */
ipmi = (1 << 8), /* Expect to send contents over IPMI BlockTransfer. */
p2a = (1 << 9), /* Expect to send contents over P2A bridge. */
lpc = (1 << 10), /* Expect to send contents over LPC bridge. */
};
};
} // namespace ipmi_flash