Angel Pons | f5627e8 | 2020-04-05 15:46:52 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrey Petrov | d39c68a | 2017-06-05 13:26:14 -0700 | [diff] [blame] | 2 | |
Michael Niewöhner | 405f229 | 2020-12-21 03:46:58 +0100 | [diff] [blame] | 3 | #include <commonlib/helpers.h> |
Andrey Petrov | d39c68a | 2017-06-05 13:26:14 -0700 | [diff] [blame] | 4 | #include <soc/pci_devs.h> |
Andrey Petrov | d39c68a | 2017-06-05 13:26:14 -0700 | [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, |
Andrey Petrov | d39c68a | 2017-06-05 13:26:14 -0700 | [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); |