Message ID | 20170619171131.185337-12-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Simon Glass |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3wryP16f3Lz9s7m for <incoming@patchwork.ozlabs.org>; Tue, 20 Jun 2017 03:18:29 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="Os4RqxC7"; dkim-atps=neutral Received: by lists.denx.de (Postfix, from userid 105) id 9E930C21C74; Mon, 19 Jun 2017 17:14:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 7A2D2C21C9D; Mon, 19 Jun 2017 17:12:15 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 16D7DC21C81; Mon, 19 Jun 2017 17:12:03 +0000 (UTC) Received: from mail-ot0-f178.google.com (mail-ot0-f178.google.com [74.125.82.178]) by lists.denx.de (Postfix) with ESMTPS id 0AC10C21C7B for <u-boot@lists.denx.de>; Mon, 19 Jun 2017 17:11:59 +0000 (UTC) Received: by mail-ot0-f178.google.com with SMTP id u13so58250957otd.2 for <u-boot@lists.denx.de>; Mon, 19 Jun 2017 10:11:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ekIymQaM1KyIpVnCvm1CHtGyrfDbCqf+kXHbvULKcj4=; b=Os4RqxC7bn5etLJsxvKAT9iO2dtsvCc2JAcz5ecISjwxI4iJSWZhZFOGiQ4TmT41gT wxFUQdYBJfJBSuEi9PN7tlU6kRiU0shSpTIfheEHdk6pDEkxvZ6ZalLhInQEghR5RPma QpVQowPQHB1vIgmQ4ql5ISMBeuU5oo42Ku8b6QhE97qKBVJY8FfgGGZGtUsVxOqaUlaV Oc8M+Nm9oMlSjO6oh1DL5YcuETWzAk+rMuRNDQ/4TBpVdgJ8J3flMiTeCXdIc30+OsLY NBXZonXNELp+upp9bkYmp9m2t6Il9zEmJuRnIRhr+JbnJA3BzI8hQiC4iasBQ6Rce+WW tL3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=ekIymQaM1KyIpVnCvm1CHtGyrfDbCqf+kXHbvULKcj4=; b=AO3g/6AWqaKjMheYCzll3X/8iCBZ9aT0JVZtkCZw8Sj43h0AIkmFsUjNWjXAsSEcX6 iifcSFPSOz2rLeKjhz80KwZcNj62S+ShsZC8nL3pixYeE6teyKJgey0H8tPk4l2DcfUW SISOGOxWWl29W3JYB1zVMlm31xf93Lmg0CoazpdYwnaIm32Kicj53SsAoautSbheykwX VkNRXP0hbUMT0lKbepJWWukpjP/u85lXCYg1WanM78zw9aLF8iy02kHKYQn3YcKwZNON wK6ZJJSjFAu38y/DdhPdUCdOYTECYaf5Y7VniW4CrHmT9bHfEpnPnWddPW2r2nPe3tfE Jhig== X-Gm-Message-State: AKS2vOzmvcwYBQMzsjd5uVElJ2j59Je9uKjZox94rGOKTSnp/qbsBxPh ne+QueQaYiLAGwbh X-Received: by 10.157.19.27 with SMTP id f27mr5521658ote.243.1497892317784; Mon, 19 Jun 2017 10:11:57 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:0:10f2:0:b403:80a1:2924:4bbd]) by smtp.gmail.com with ESMTPSA id l197sm5330133oib.11.2017.06.19.10.11.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jun 2017 10:11:57 -0700 (PDT) Received: by kiwi.bld.corp.google.com (Postfix, from userid 121222) id 8A7C814210A; Mon, 19 Jun 2017 11:11:56 -0600 (MDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Mon, 19 Jun 2017 11:11:28 -0600 Message-Id: <20170619171131.185337-12-sjg@chromium.org> X-Mailer: git-send-email 2.13.1.518.g3df882009-goog In-Reply-To: <20170619171131.185337-1-sjg@chromium.org> References: <20170619171131.185337-1-sjg@chromium.org> Cc: Michal Simek <michal.simek@xilinx.com>, Rob Herring <rob.herring@calxeda.com>, Maxime Ripard <maxime.ripard@free-electrons.com>, Jagan Teki <jagan@openedev.com> Subject: [U-Boot] [PATCH 11/14] dm: scsi: Don't scan the SCSI bus when probing X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 066524758a..5e4df19386 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -1181,11 +1181,6 @@ int ahci_probe_scsi(struct udevice *ahci_dev, ulong base) if (ret) return ret; - debug("Scanning %s\n", dev->name); - ret = scsi_scan_dev(dev, true); - if (ret) - return ret; - return 0; }
The 'scsi scan' function handles this at present and we don't want to do it twice. With driver model we want to adopt U-Boot's lazy init approach where possible. Drop the automatic scan when probing a SCSI bus. Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/ata/ahci.c | 5 ----- 1 file changed, 5 deletions(-)