Angel Pons | 3bd1e3d | 2020-04-05 15:47:17 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 2 | |
Michael Niewöhner | 405f229 | 2020-12-21 03:46:58 +0100 | [diff] [blame] | 3 | #include <commonlib/helpers.h> |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 4 | #include <soc/pci_devs.h> |
Aamir Bohra | 230ada6 | 2017-12-04 16:24:21 +0530 | [diff] [blame] | 5 | |
Michael Niewöhner | 405f229 | 2020-12-21 03:46:58 +0100 | [diff] [blame] | 6 | const unsigned int uart_devices[] = { |
| 7 | PCH_DEVFN_UART0, |
| 8 | PCH_DEVFN_UART1, |
| 9 | PCH_DEVFN_UART2, |
Aamir Bohra | 230ada6 | 2017-12-04 16:24:21 +0530 | [diff] [blame] | 10 | }; |
| 11 | |
Michael Niewöhner | 405f229 | 2020-12-21 03:46:58 +0100 | [diff] [blame] | 12 | const int uart_devices_size = ARRAY_SIZE(uart_devices); |