From patchwork Fri Sep 17 07:37:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 1529231 X-Patchwork-Delegate: narmstrong@baylibre.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=nrlGOgWi; dkim-atps=neutral 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=) 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 4H9m5203jnz9s5R for ; Fri, 17 Sep 2021 17:37:41 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9B9E6831E7; Fri, 17 Sep 2021 09:37:24 +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.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.b="nrlGOgWi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E4B1B81D6C; Fri, 17 Sep 2021 09:37:21 +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,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 17FDF81D6C for ; Fri, 17 Sep 2021 09:37:17 +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-x434.google.com with SMTP id d21so13557881wra.12 for ; Fri, 17 Sep 2021 00:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tJgbbqo/6bQo2p9nmIFUbGQJBxvosMwO730hx+ONHCc=; b=nrlGOgWiDipPZsDam5fspk6SMxm2y9Dkozb/4p6K9QeKeMiaS3JWHuqRcjUsiYDp1+ vGzl+m5hXoPZd82KpIxGUvJikP9EUmpCPBtD+F0g1VFZJ3ivS6rwTe+ipSHG9YhtkODQ /nnIx+ydH5IzZTeXJhAwXMhS7xRR1VtzOJjgwEvVeWlu9dt/iRHds+uxBTe7GvrieMqo Ev3yw0WiODlLks9sdz/8sKuNNFn7MqwWki71Jexw9THMl7OvRE/QTU3fHj8+58FDTst1 OnjZFPQSTjU68A18TOkNqJP3pU9QX4Z8CiZCqXzzA5q7z3P97eMwc2abnJNRPKxgbT6g gzUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tJgbbqo/6bQo2p9nmIFUbGQJBxvosMwO730hx+ONHCc=; b=5z5bwMWNw7aH53b3TPuBBhhO5JAUwAVrMI/JEEq/cUZicEmtdEYjshaCOTg3pWpf9J wBCc3Mo0dBPlLLusTLITIi7Tm7APaPyoyI+I5MkXQmw1BHbrWOaxdSn2uDt+hT0RSgMz BhypT7gkWuodgloZNM05xDSbsriI1NGFGevJzGIjBVfhrN3dspPNiqgSOSnqQrFmObex tBll1xytwdsgxTa7d4ctsqRu0skKYeTfFGx7Hv2d95N6rMtnPCHfZOyl2kbj2iTMyJ2F AZi7pcxDXkgo+ScmvX/eLFwS4J6SoDK6Ao67YO39LbFi/FHDbBsbUvt+MAvwvoe8zItX hfCA== X-Gm-Message-State: AOAM5338UBg4IH4j0A4Ia4WkBT3vhAJj25s3BJ80DziZIEH2f9YLikhL LUUghtugXmf1pmoJEE4/w7CfVD8Mw3oiWk3M X-Google-Smtp-Source: ABdhPJxJTYSEWwbTSggVNYpI1VrIANVKnDvj1qo6Ev0UtXiWcMi0jxRO/iUrZvd9druGABoUamYKJQ== X-Received: by 2002:adf:ef48:: with SMTP id c8mr10219842wrp.349.1631864236260; Fri, 17 Sep 2021 00:37:16 -0700 (PDT) Received: from localhost.localdomain ([2001:861:44c0:66c0:7c8c:5a9b:1b6e:1623]) by smtp.gmail.com with ESMTPSA id w14sm5969763wro.8.2021.09.17.00.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 00:37:15 -0700 (PDT) From: Neil Armstrong To: u-boot@lists.denx.de Cc: u-boot-amlogic@groups.io, Neil Armstrong , Mark Kettenis Subject: [PATCH v3 06/10] distro_bootcmd: run pci enum for scsi_boot just like it is done for nvme_boot Date: Fri, 17 Sep 2021 09:37:05 +0200 Message-Id: <20210917073709.1052133-6-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210917073709.1052133-1-narmstrong@baylibre.com> References: <20210917073709.1052133-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.103.2 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 750e9e04e8..3f724aa10f 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