main: add compilation guards around PCI handler

Add compilation guards around the PCI (Aspeed P2A) handler.  We only
want to build the object to handle PCI if it's configured to be used.
We also want to make sure it's compiled if they've enable Aspeed P2A
because presently that's all we support at present.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I2d8d13e41c6fd55e85148a7d7443e90dcd06dd9c
diff --git a/main.cpp b/main.cpp
index e2a3cd2..a0716ef 100644
--- a/main.cpp
+++ b/main.cpp
@@ -52,7 +52,13 @@
 #endif
 #endif
 
+#ifdef ENABLE_PCI_BRIDGE
+#if defined(ASPEED_P2A)
 PciDataHandler pciDataHandler(MAPPED_ADDRESS);
+#else
+#error "You must specify a hardware implementation."
+#endif
+#endif
 
 std::vector<HandlerPack> supportedFirmware = {
     {FirmwareBlobHandler::hashBlobID, &hashHandler},