blob: fbe39f95307b28a0a5f32ae5b145d40bf1b463e0 [file] [log] [blame]
#pragma once
#include "common/include/software_manager.hpp"
#include "sdbusplus/async/context.hpp"
#include <sdbusplus/async.hpp>
const std::string configTypeSPIDevice = "SPIFlash";
class SPIDeviceCodeUpdater : public SoftwareManager
{
public:
SPIDeviceCodeUpdater(sdbusplus::async::context& ctx, bool isDryRun,
bool debug);
sdbusplus::async::task<> getInitialConfigurationSingleDevice(
const std::string& service, const std::string& path,
DeviceConfig& config) final;
bool debug;
private:
};