Add MMC layout
Add support for eMMC layout. The actual update of the image will
be handled by the BMC updater since the image file will be
packaged in a single tarball, but the eMMC still needs to have
some services to setup the host firmware mounts for the virtual
pnor configuration to use. Therefore the functions are empty.
Change-Id: Iaa052342a2bb66e46ab7b59bdcd5631f3dfc2999
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/item_updater_main.cpp b/item_updater_main.cpp
index 1792ad4..e2b5793 100644
--- a/item_updater_main.cpp
+++ b/item_updater_main.cpp
@@ -3,6 +3,8 @@
#ifdef UBIFS_LAYOUT
#include "ubi/item_updater_ubi.hpp"
#include "ubi/watch.hpp"
+#elif defined MMC_LAYOUT
+#include "mmc/item_updater_mmc.hpp"
#else
#include "static/item_updater_static.hpp"
#endif
@@ -32,6 +34,8 @@
#ifdef UBIFS_LAYOUT
ItemUpdaterUbi updater(bus, SOFTWARE_OBJPATH);
+#elif defined MMC_LAYOUT
+ ItemUpdaterMMC updater(bus, SOFTWARE_OBJPATH);
#else
ItemUpdaterStatic updater(bus, SOFTWARE_OBJPATH);
#endif