common: move asyncSystem() to common
asyncSystem() is shared across updaters, so moved to common.
Change-Id: I3545d34ecc1f1bf8a226d020267ae00bcf42c5f9
Signed-off-by: Kevin Tung <Kevin.Tung@quantatw.com>
diff --git a/eeprom-device/eeprom_device.hpp b/eeprom-device/eeprom_device.hpp
index 6e6eee5..de1fd2d 100644
--- a/eeprom-device/eeprom_device.hpp
+++ b/eeprom-device/eeprom_device.hpp
@@ -65,8 +65,8 @@
* @param image_size - Size of the data to write in bytes.
* @return `true` on success, `false` otherwise.
*/
- sdbusplus::async::task<int> writeEEPROM(const uint8_t* image,
- size_t image_size) const;
+ sdbusplus::async::task<bool> writeEEPROM(const uint8_t* image,
+ size_t image_size) const;
/**
* @brief Handle async host state change signal and updates the version.
*/