]> git.proxmox.com Git - mirror_edk2.git/blobdiff - QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohData.c
QuarkSocPkg: Add new package for Quark SoC X1000
[mirror_edk2.git] / QuarkSocPkg / QuarkSouthCluster / IohInit / Dxe / IohData.c
diff --git a/QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohData.c b/QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohData.c
new file mode 100644 (file)
index 0000000..432a86f
--- /dev/null
@@ -0,0 +1,48 @@
+/** @file\r
+Defined the Ioh device path which will be used by\r
+platform Bbd to perform the platform policy connect.\r
+\r
+Copyright (c) 2013-2015 Intel Corporation.\r
+\r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#include "IohBds.h"\r
+\r
+//\r
+// Predefined platform root bridge\r
+//\r
+PLATFORM_ROOT_BRIDGE_DEVICE_PATH gPlatformRootBridge0 = {\r
+  gPciRootBridge,\r
+  gEndEntire\r
+};\r
+\r
+EFI_DEVICE_PATH_PROTOCOL* gPlatformRootBridges [] = {\r
+  (EFI_DEVICE_PATH_PROTOCOL*)&gPlatformRootBridge0,\r
+  NULL\r
+};\r
+\r
+//\r
+// Ioh USB EHCI controller device path\r
+//\r
+IOH_PCI_USB_DEVICE_PATH gIohUsbDevicePath0 = {\r
+  gPciRootBridge,\r
+  PCI_DEVICE_PATH_NODE(IOH_EHCI_FUNCTION_NUMBER, IOH_USB_EHCI_DEVICE_NUMBER),\r
+  gEndEntire\r
+};\r
+\r
+//\r
+// Ioh predefined device connecting option\r
+//\r
+EFI_DEVICE_PATH_PROTOCOL* gDeviceConnectOption [] = {\r
+  //  (EFI_DEVICE_PATH_PROTOCOL*)&gIohUsbDevicePath0,\r
+  NULL\r
+};\r
+\r