Adriana Kobylak | 8bc2ab4 | 2020-07-15 09:16:27 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include "activation.hpp" |
| 4 | |
| 5 | namespace openpower |
| 6 | { |
| 7 | namespace software |
| 8 | { |
| 9 | namespace updater |
| 10 | { |
| 11 | |
| 12 | namespace fs = std::filesystem; |
| 13 | |
| 14 | /** @class ActivationMMC |
| 15 | * @brief Implementation for eMMC PNOR layout |
| 16 | */ |
| 17 | class ActivationMMC : public Activation |
| 18 | { |
| 19 | public: |
| 20 | using Activation::Activation; |
| 21 | ~ActivationMMC() = default; |
| 22 | Activations activation(Activations value) override; |
| 23 | |
| 24 | private: |
| 25 | void unitStateChange(sdbusplus::message::message& msg) override; |
| 26 | void startActivation() override; |
| 27 | void finishActivation() override; |
| 28 | }; |
| 29 | |
| 30 | } // namespace updater |
| 31 | } // namespace software |
| 32 | } // namespace openpower |