summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/ivybridge/report_platform.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-05 19:25:15 (GMT)
committerSimon Glass <sjg@chromium.org>2015-04-17 01:27:41 (GMT)
commit31f57c28736d9a070fe56c55d57e9da406ee86ba (patch)
tree9d3d2bacb65e48e1ac21ec1c08f852f9f04936c2 /arch/x86/cpu/ivybridge/report_platform.c
parent5f7bfdd63094689af501fdef77423e0029c06622 (diff)
downloadu-boot-31f57c28736d9a070fe56c55d57e9da406ee86ba.tar.xz
x86: Add a x86_ prefix to the x86-specific PCI functions
These functions currently use a generic name, but they are for x86 only. This may introduce confusion and prevents U-Boot from using these names more widely. In fact it should be possible to remove these at some point and use generic functions, but for now, rename them. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/ivybridge/report_platform.c')
-rw-r--r--arch/x86/cpu/ivybridge/report_platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/cpu/ivybridge/report_platform.c b/arch/x86/cpu/ivybridge/report_platform.c
index 69e31b3..4493870 100644
--- a/arch/x86/cpu/ivybridge/report_platform.c
+++ b/arch/x86/cpu/ivybridge/report_platform.c
@@ -70,14 +70,14 @@ static void report_pch_info(void)
u16 dev_id;
uint8_t rev_id;
- dev_id = pci_read_config16(PCH_LPC_DEV, 2);
+ dev_id = x86_pci_read_config16(PCH_LPC_DEV, 2);
for (i = 0; i < ARRAY_SIZE(pch_table); i++) {
if (pch_table[i].dev_id == dev_id) {
pch_type = pch_table[i].dev_name;
break;
}
}
- rev_id = pci_read_config8(PCH_LPC_DEV, 8);
+ rev_id = x86_pci_read_config8(PCH_LPC_DEV, 8);
debug("PCH type: %s, device id: %x, rev id %x\n", pch_type, dev_id,
rev_id);
}