x86: ivybridge: Use driver model PCI API in bd82x6x.c
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:32 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:08:17 +0000 (12:08 +0800)
commit1a9dd221c679705b131b160b6342f218ea71bd96
tree99b5bc2eda27ad7ad3d0fa9544993851e1f9db05
parent9ed781a6ffba48d75b3ae0a0058ca439b8e178c2
x86: ivybridge: Use driver model PCI API in bd82x6x.c

Adjust most of the remaining functions in this file to use the driver model
PCI API. The one remaining function is bridge_silicon_revision() which will
need a little more work.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/ivybridge/northbridge.c
arch/x86/include/asm/arch-ivybridge/sandybridge.h