x86: ivybridge: Move northbridge and PCH init into drivers
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:31 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:08:17 +0000 (12:08 +0800)
commit9ed781a6ffba48d75b3ae0a0058ca439b8e178c2
tree1700cfafb872f8b307f1c547d59576b48e578d29
parentac643e0363b4fe32e2742ede8084fc9999bd0bfb
x86: ivybridge: Move northbridge and PCH init into drivers

Instead of calling the northbridge and PCH init from bd82x6x_init_extra()
when the PCI bus is probed, call it from the respective drivers. Also drop
the Northbridge init as it has no effect. The registers it touches appear to
be read-only.

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