summaryrefslogtreecommitdiffstats
path: root/flash.hpp
Commit message (Collapse)AuthorAgeFilesLines
* activation: Move out code that monitors for ubi servicesAdriana Kobylak2018-06-151-0/+5
| | | | | | | | | | | | Move the code that monitors for ubi services into the ubi subdirectory. Other filesystem layouts can just ignore the service monitoring by setting the *VolumeCreated variables to true. Tested: Verified code update on Witherspoon still worked. Change-Id: I135e66225d0e8d692d430efd864252b822b069db Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* activation: Create ubi write functionAdriana Kobylak2018-06-061-0/+29
Move the code that creates the ubi volumes into a separate write flash function to make it easier to implement different flash write functions for other flash layouts. To implement a different write flash function: 1. Modify the Makefile.am file to include the desired code location. Ex: if UBI include ubi/Makefile.am.include else include <other>/Makefile.am.include 2. Implement the Activation::flashWrite in <other>/flash.cpp Tested: Verified code update still worked. Change-Id: Ide4d135695dad27e0dc1b5a776a276dfb2ca9aa6 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
OpenPOWER on IntegriCloud