x86: ivybridge: Convert sdram_initialise() to use DM PCI API
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:48 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:09:41 +0000 (12:09 +0800)
commit1641bb8cc7ca49a8a0c49df54a2612a1ac63ed29
tree7bccdc861ffeb955ef125516c84adfb34ccd01a6
parent2588e71132613dff83805c3fe47530fa00c6c07d
x86: ivybridge: Convert sdram_initialise() to use DM PCI API

Convert this function to use the the driver model PCI API. We just need
to pass in the northbridge device.

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