summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/ivybridge/bd82x6x.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-18 02:11:35 +0300
committerBin Meng <bmeng.cn@gmail.com>2016-01-24 07:09:39 +0300
commitd46f2a68e64b14a54a120a4bab0781f8e11f07dd (patch)
treeab7132c53631792adbf8481bd3613f82a3331bb7 /arch/x86/cpu/ivybridge/bd82x6x.c
parente3b5f04143a859092d4e09f61e526790836714f2 (diff)
downloadu-boot-d46f2a68e64b14a54a120a4bab0781f8e11f07dd.tar.xz
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>
Diffstat (limited to 'arch/x86/cpu/ivybridge/bd82x6x.c')
-rw-r--r--arch/x86/cpu/ivybridge/bd82x6x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/cpu/ivybridge/bd82x6x.c b/arch/x86/cpu/ivybridge/bd82x6x.c
index c5a5d4d9c2..8e98fa29ee 100644
--- a/arch/x86/cpu/ivybridge/bd82x6x.c
+++ b/arch/x86/cpu/ivybridge/bd82x6x.c
@@ -69,8 +69,6 @@ int bd82x6x_init_extra(void)
return -EINVAL;
}
- bd82x6x_sata_enable(PCH_SATA_DEV, blob, sata_node);
-
return 0;
}