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/test/lpc_mapper_mock.hpp b/test/lpc_mapper_mock.hpp
index 7d84a8a..79f4e50 100644
--- a/test/lpc_mapper_mock.hpp
+++ b/test/lpc_mapper_mock.hpp
@@ -1,16 +1,16 @@
#pragma once
-#include "lpc_interface.hpp"
+#include "window_hw_interface.hpp"
#include <gmock/gmock.h>
namespace blobs
{
-class LpcInterfaceMock : public LpcMapperInterface
+class HardwareInterfaceMock : public HardwareMapperInterface
{
public:
- virtual ~LpcInterfaceMock() = default;
+ virtual ~HardwareInterfaceMock() = default;
MOCK_METHOD2(mapWindow,
std::pair<std::uint32_t, std::uint32_t>(std::uint32_t,