x86: ivybridge: Do the SATA init before relocation
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:35 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:09:39 +0000 (12:09 +0800)
commitd46f2a68e64b14a54a120a4bab0781f8e11f07dd
treeab7132c53631792adbf8481bd3613f82a3331bb7
parente3b5f04143a859092d4e09f61e526790836714f2
x86: ivybridge: Do the SATA init before relocation

The SATA device needs to set itself up so that it appears correctly on the
PCI bus. The easiest way to do this is to set it up to probe before
relocation. This can do the early setup.

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