]> git.sur5r.net Git - u-boot/commit
x86: ivybridge: Set up the LPC device using driver model
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:10 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:07:19 +0000 (12:07 +0800)
commit4acc83d437da7a40e7c2b1874eaba23273ec6bc2
tree5ff12c47ee88240dac8878c8da66892f747323f5
parent7282672d298905088fb3c7c0a049d7d7d31cb8b4
x86: ivybridge: Set up the LPC device using driver model

Find the LPC device in arch_cpu_init_dm() as a first step to converting
this code to use driver model. Probing the LPC will probe its parent (the
PCH) automatically, so make sure that probing the PCH does nothing before
relocation.

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/cpu.c
arch/x86/cpu/ivybridge/lpc.c
arch/x86/dts/chromebook_link.dts