x86: ivybridge: Convert SDRAM init to use driver model
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:50 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:09:41 +0000 (12:09 +0800)
commitc02a4242c88fa42d2a08e979551a85b45c946b8e
treecddfb88ad752bc1e7c5cd709f931ea4bdbfc0ceb
parentb32375d070e7f9717293bc55aebdba3130bee72a
x86: ivybridge: Convert SDRAM init to use driver model

SDRAM init needs access to the Northbridge controller and the Intel
Management Engine device. Add the latter to the device tree and convert all
of this code to driver model.

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