blob: fbe39f95307b28a0a5f32ae5b145d40bf1b463e0 [file] [log] [blame]
Alexander Hansen1ba6e1c2024-11-26 11:16:44 +01001#pragma once
2
3#include "common/include/software_manager.hpp"
4#include "sdbusplus/async/context.hpp"
5
6#include <sdbusplus/async.hpp>
7
8const std::string configTypeSPIDevice = "SPIFlash";
9
10class SPIDeviceCodeUpdater : public SoftwareManager
11{
12 public:
13 SPIDeviceCodeUpdater(sdbusplus::async::context& ctx, bool isDryRun,
14 bool debug);
15
16 sdbusplus::async::task<> getInitialConfigurationSingleDevice(
17 const std::string& service, const std::string& path,
18 DeviceConfig& config) final;
19
20 bool debug;
21
22 private:
23};