[U-Boot] [PATCH 07/11] x86: pci: Tidy up the generic x86 PCI driver
Simon Glass
sjg at chromium.org
Sun Jun 7 16:50:38 CEST 2015
This driver should use the x86 PCI configuration functions. Also adjust its
compatible string to something generic (i.e. without a vendor name).
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/pci/pci_x86.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/pci/pci_x86.c b/drivers/pci/pci_x86.c
index 901bdca..9f842c3 100644
--- a/drivers/pci/pci_x86.c
+++ b/drivers/pci/pci_x86.c
@@ -7,12 +7,15 @@
#include <common.h>
#include <dm.h>
#include <pci.h>
+#include <asm/pci.h>
static const struct dm_pci_ops x86_pci_ops = {
+ .read_config = pci_x86_read_config,
+ .write_config = pci_x86_write_config,
};
static const struct udevice_id x86_pci_ids[] = {
- { .compatible = "x86,pci" },
+ { .compatible = "pci-x86" },
{ }
};
--
2.2.0.rc0.207.ga3a616c
More information about the U-Boot
mailing list