x86: ivybridge: Sort out the calls to bridge_silicon_revision()
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:54 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:09:41 +0000 (12:09 +0800)
commit1605b10032eb073b6854fdeddbf455bf403eb6f1
treef6300def05d792ea11d73d1ffd7f51b4ffabf752
parenta5ea3a7d4a29f4251c032385f89ef7776f081be8
x86: ivybridge: Sort out the calls to bridge_silicon_revision()

This function is called all over the place. Convert it use the driver model
PCI API, and rationalise the calls.

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