From patchwork Wed Apr 21 09:18:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 1468655 X-Patchwork-Delegate: narmstrong@baylibre.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=tyBiZg/K; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FQFPC3lvPz9t5m for ; Wed, 21 Apr 2021 19:19:27 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 426C882B79; Wed, 21 Apr 2021 11:18:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="tyBiZg/K"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A8A7782B50; Wed, 21 Apr 2021 11:18:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D598A82B5C for ; Wed, 21 Apr 2021 11:18:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=narmstrong@baylibre.com Received: by mail-wr1-x429.google.com with SMTP id a4so40577329wrr.2 for ; Wed, 21 Apr 2021 02:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tpz69pAtRkeip+snKcs0FEA/EzYhZar/nV7xj0f4NxM=; b=tyBiZg/Kbp0a/BwdmxWko5rbcjq/XBuGI6koTrzCeCsnokDzUUrDbYg7j4WVuWJf/0 nl3kCgOqMnclqj56r1RZ323lfSIu61uPaC9JuBCpLIUKEKCJHPSC3FYGwv5Szxf12EUz 4h//2/tmBBUvBAMDr4ysn8a/dqvU0V7tWtbciQemPd6knpTOaTGCxMQUlE/dNNo06b3G rtX9/IDKSdxZQxfdCiX5kMOeWfkvkpILe9vdMp+70LGf5ezsxOJ4v2kpsXLPaeNsk0js z3VoPOdXmmbHcZZH0MyA5+wMRoeEUUacFsQqFaKSllRXN12f7HunOWuPy3EHCVY9Q7Ph kNGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tpz69pAtRkeip+snKcs0FEA/EzYhZar/nV7xj0f4NxM=; b=Rh4R2UZnFxvWC3cpOhxyinw3zNMY5FIGmQuMjkONg235E5jLmGB3J0L2QhnsfCqxtc PQmewyBmkRvnW+2ndsTs7prmUQpThKHHoqYPUSeoEP2SGg4hKEEHzyElP7JBpmbOOSR0 7UUCjHh7GMuqVi3HMPjgeFufkadInXTrw8/fweDfHoDCmnmdKd5TmEPlCrMYuI5iavFE l4UJBbt3OKfD7+LMH45dnqCnRphCBzSm6jGVdvjjIxuaI9o3LzN2WUZ8o7hlGfRlFC5+ ac8Csu0oiSqlODXwGWryIffWj3kUQuxIAJLgOhQ2O//dtkp5r0Nb5HXKLWxMl0eFpFcE 2X8w== X-Gm-Message-State: AOAM533I+it9gVj1ld79R43t10QKtgEdRuknC3T5UGjNfLVlvIgOp2SC mKCrhR4xCEbx/vvgIi9ZQb++CdUBvR/KNOEN X-Google-Smtp-Source: ABdhPJzlF9Oj0TidkZqlMVBImfGHSCERgT+IfarNXyYivfVcOhkIv9UdID9aEblkaoBg2saQw9LqNQ== X-Received: by 2002:a5d:4851:: with SMTP id n17mr25827739wrs.215.1618996698091; Wed, 21 Apr 2021 02:18:18 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:90c:e290:f781:73d5:3127:752d]) by smtp.gmail.com with ESMTPSA id n18sm2280714wrw.11.2021.04.21.02.18.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Apr 2021 02:18:17 -0700 (PDT) From: Neil Armstrong To: u-boot@lists.denx.de Cc: u-boot-amlogic@groups.io, Neil Armstrong , Mark Kettenis Subject: [PATCH 5/8] distro_bootcmd: run pci enum for scsi_boot just like it is done for nvme_boot Date: Wed, 21 Apr 2021 11:18:06 +0200 Message-Id: <20210421091809.3103002-5-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210421091809.3103002-1-narmstrong@baylibre.com> References: <20210421091809.3103002-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean The SCSI device can be a PCIe adapter, so run pcie enum if enabled. Signed-off-by: Mark Kettenis Signed-off-by: Neil Armstrong --- include/config_distro_bootcmd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h index 2627c2a6a5..f4f6fa8f8a 100644 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h @@ -226,6 +226,7 @@ "fi\0" \ \ "scsi_boot=" \ + BOOTENV_RUN_PCI_ENUM \ BOOTENV_RUN_SCSI_INIT \ BOOTENV_SHARED_BLKDEV_BODY(scsi) #define BOOTENV_DEV_SCSI BOOTENV_DEV_BLKDEV