diff options
Diffstat (limited to 'src/soc/intel/quark/uart.c')
-rw-r--r-- | src/soc/intel/quark/uart.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/soc/intel/quark/uart.c b/src/soc/intel/quark/uart.c index b97fceafee..b4af08e2dd 100644 --- a/src/soc/intel/quark/uart.c +++ b/src/soc/intel/quark/uart.c @@ -19,6 +19,7 @@ #include <device/pci.h> #include <device/pci_def.h> #include <device/pci_ids.h> +#include <soc/pci_devs.h> static void uart_read_resources(device_t dev) { @@ -40,13 +41,8 @@ static struct device_operations device_ops = { .enable_resources = &pci_dev_enable_resources, }; -static const unsigned short uart_ids[] = { - 0x0936, /* HSUART0, HSUART1 */ - 0 -}; - static const struct pci_driver uart_driver __pci_driver = { - .ops = &device_ops, - .vendor = PCI_VENDOR_ID_INTEL, - .devices = uart_ids, + .ops = &device_ops, + .vendor = PCI_VENDOR_ID_INTEL, + .device = HSUART_DEVID, }; |