summaryrefslogtreecommitdiff
path: root/src/soc/intel/pantherlake/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/pantherlake/uart.c')
-rw-r--r--src/soc/intel/pantherlake/uart.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/intel/pantherlake/uart.c b/src/soc/intel/pantherlake/uart.c
new file mode 100644
index 0000000000..9f549c5ae8
--- /dev/null
+++ b/src/soc/intel/pantherlake/uart.c
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <commonlib/helpers.h>
+#include <soc/pci_devs.h>
+
+const unsigned int uart_devices[] = {
+ PCI_DEVFN_UART0,
+ PCI_DEVFN_UART1,
+ PCI_DEVFN_UART2,
+};
+
+const int uart_devices_size = ARRAY_SIZE(uart_devices);