summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/ivybridge
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-17 16:11:36 -0700
committerBin Meng <bmeng.cn@gmail.com>2016-01-24 12:09:40 +0800
commit82935b751b435cd1b6b7f38967121fc830717dd1 (patch)
tree984a667b51e9a5535c700900de7b58bf1afad297 /arch/x86/cpu/ivybridge
parentd46f2a68e64b14a54a120a4bab0781f8e11f07dd (diff)
x86: ivybridge: Drop the unused bd82x6x_init_extra()
This function does nothing now so can be dropped. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/ivybridge')
-rw-r--r--arch/x86/cpu/ivybridge/bd82x6x.c16
-rw-r--r--arch/x86/cpu/ivybridge/pci.c1
2 files changed, 0 insertions, 17 deletions
diff --git a/arch/x86/cpu/ivybridge/bd82x6x.c b/arch/x86/cpu/ivybridge/bd82x6x.c
index 8e98fa29ee..1fe2ce13c8 100644
--- a/arch/x86/cpu/ivybridge/bd82x6x.c
+++ b/arch/x86/cpu/ivybridge/bd82x6x.c
@@ -56,22 +56,6 @@ static int bd82x6x_probe(struct udevice *dev)
return 0;
}
-/* TODO(sjg@chromium.org): Move this to the PCH init() method */
-int bd82x6x_init_extra(void)
-{
- const void *blob = gd->fdt_blob;
- int sata_node;
-
- sata_node = fdtdec_next_compatible(blob, 0,
- COMPAT_INTEL_PANTHERPOINT_AHCI);
- if (sata_node < 0) {
- debug("%s: Cannot find SATA node\n", __func__);
- return -EINVAL;
- }
-
- return 0;
-}
-
static int bd82x6x_pch_get_sbase(struct udevice *dev, ulong *sbasep)
{
u32 rcba;
diff --git a/arch/x86/cpu/ivybridge/pci.c b/arch/x86/cpu/ivybridge/pci.c
index b081469c96..5195002676 100644
--- a/arch/x86/cpu/ivybridge/pci.c
+++ b/arch/x86/cpu/ivybridge/pci.c
@@ -22,7 +22,6 @@ static int pci_ivybridge_probe(struct udevice *bus)
if (!(gd->flags & GD_FLG_RELOC))
return 0;
post_code(0x50);
- bd82x6x_init_extra();
post_code(0x51);
return 0;