From 82935b751b435cd1b6b7f38967121fc830717dd1 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 17 Jan 2016 16:11:36 -0700 Subject: x86: ivybridge: Drop the unused bd82x6x_init_extra() This function does nothing now so can be dropped. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/cpu/ivybridge/bd82x6x.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'arch/x86/cpu/ivybridge/bd82x6x.c') diff --git a/arch/x86/cpu/ivybridge/bd82x6x.c b/arch/x86/cpu/ivybridge/bd82x6x.c index 8e98fa2..1fe2ce1 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; -- cgit v1.1