x86: ivybridge: Use the SATA driver to do the init
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:37 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:09:40 +0000 (12:09 +0800)
commit01a679084b1d98701f73f1344f6802f3d9ee1076
treebf9f20a8a5ea82c3fa7b2821b7a83f4947750a98
parent82935b751b435cd1b6b7f38967121fc830717dd1
x86: ivybridge: Use the SATA driver to do the init

Instead of manually initing the device, probe the SATA device and move the
init there.

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/sata.c
arch/x86/include/asm/arch-ivybridge/bd82x6x.h