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.hpp b/lpc_aspeed.hpp
index 98e7a72..be872ce 100644
--- a/lpc_aspeed.hpp
+++ b/lpc_aspeed.hpp
@@ -1,17 +1,17 @@
#pragma once
#include "internal/sys.hpp"
-#include "lpc_interface.hpp"
+#include "window_hw_interface.hpp"
#include <memory>
namespace blobs
{
-class LpcMapperAspeed : public LpcMapperInterface
+class LpcMapperAspeed : public HardwareMapperInterface
{
public:
- static std::unique_ptr<LpcMapperInterface>
+ static std::unique_ptr<HardwareMapperInterface>
createAspeedMapper(std::size_t regionSize);
LpcMapperAspeed(std::size_t regionSize,