rename lpcmapperinterface to hardwaremapperinterface
The P2A bridge and the LPC bridge both require mapping and copying data
out. In the case of the aspeed-lpc-ctrl driver, the copyFrom will be
handled via mmap. However, the similarities between all Host-BMC window
hardware supports making this interface more generic.
Change-Id: I68a325cac4cf8415b0c6f069faf78a9520ca14fd
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/lpc_aspeed.cpp b/lpc_aspeed.cpp
index 120ac76..62760c5 100644
--- a/lpc_aspeed.cpp
+++ b/lpc_aspeed.cpp
@@ -16,7 +16,7 @@
#include "lpc_aspeed.hpp"
-#include "lpc_interface.hpp"
+#include "window_hw_interface.hpp"
#include <fcntl.h>
#include <linux/aspeed-lpc-ctrl.h>
@@ -30,7 +30,7 @@
namespace blobs
{
-std::unique_ptr<LpcMapperInterface>
+std::unique_ptr<HardwareMapperInterface>
LpcMapperAspeed::createAspeedMapper(std::size_t regionSize)
{
/* NOTE: considered using a joint factory to create one or the other, for