data handler: add close method
Add the close method which, when called should turn off whatever bridge
was used.
Change-Id: Idbf16bd6777d0b9c3f537d0b9d3fdff22e7c319e
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/pci_handler.cpp b/pci_handler.cpp
index 3fa7ec9..dce1098 100644
--- a/pci_handler.cpp
+++ b/pci_handler.cpp
@@ -9,8 +9,15 @@
bool PciDataHandler::open()
{
- /* For the ASPEED P2A driver, this method will enable the memory region to
- * use.
+ /* TODO: For the ASPEED P2A driver, this method will enable the memory
+ * region to use.
+ */
+ return false;
+}
+
+bool PciDataHandler::close()
+{
+ /* TODO: Turn off the P2A bridge and region to disable host-side access.
*/
return false;
}