tools: add configuration to enable PPC host memory access
Tested: Successfully updated on a Zaius (PPC platform) using ipmilpc
Change-Id: Ic744f6e0ca40df7aa3d5f914e2baef58114fa71b
Signed-off-by: Rui Zhang <ruizhan@google.com>
diff --git a/tools/io.hpp b/tools/io.hpp
index 48e70bf..8760aec 100644
--- a/tools/io.hpp
+++ b/tools/io.hpp
@@ -71,7 +71,7 @@
class PpcMemDevice : public HostIoInterface
{
public:
- explicit PpcMemDevice(const std::string ppcMemPath,
+ explicit PpcMemDevice(const std::string& ppcMemPath,
const internal::Sys* sys = &internal::sys_impl) :
ppcMemPath(ppcMemPath),
sys(sys)