From patchwork Wed Sep 8 14:17:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 1525911 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; 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=sKFvoHZo; 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 4H4PPV1GWVz9sW8 for ; Thu, 9 Sep 2021 00:18:21 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4E94C833BD; Wed, 8 Sep 2021 16:18:01 +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="sKFvoHZo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3795983353; Wed, 8 Sep 2021 16:17:43 +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-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (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 BB2B583353 for ; Wed, 8 Sep 2021 16:17:38 +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-wm1-x331.google.com with SMTP id l18-20020a05600c4f1200b002f8cf606262so1759897wmq.1 for ; Wed, 08 Sep 2021 07:17:38 -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=tJgbbqo/6bQo2p9nmIFUbGQJBxvosMwO730hx+ONHCc=; b=sKFvoHZomRKLZVs70QPFTTlpJip1T4ts4Z/pxw375Ya+f7kQjpeo8yEIMYJF2x/8rK WU9tnhFIvxnW611lxZ8S5/2olugeaetCftPwa5mYMysbfveHdf7tnSFQFCmqIfWAQo06 V4Q2+5wSIsGn+OgS79H0rgI6OT9Fe0rzzbHMnxoDbzmPrJy7Rjy+1QBoOPFjmmYoxuR2 V+WzlrqIv0bu7Zx6OEAexT8PHm871vDkrsC1zqjdIRR4OxQeIOx2YkxaIY8TY+hoxfrC l6/0zdiy4rr1CDi3NYFEYapHpKInQ6zL2CgY1jleOOOYqE7NbOPpaFmHTGtjknqpjVKQ lPGA== 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=62cRfEt9A8axRThondqt+6CNIEQ2vsTqwBtUeu0zRMvLPwe/QdgyP/hYRC9BSYs8g2 AXsCZBbE0GGC6z56M0dYDCtTgDhPWsELe9ZVximChc5hMSkvseC/q7oLakNbyuSRQ8gb Pia13RE1gD669HqO6fG9JRHZeoHjeno5e976Irs2E35eTi8/GGOVpMvPXHSzL0Wh/hJT m0xIZ1jWzSPulpaNXg8RoOlLGVIAXTc9Gcka+JzOqyomsUMkzSq2UB1U1rEDhz8RNHrG wRzfWFZsN8AkIQi1R1WYGiOtxxSLsRhZLMq/7ZuFX8CCVckkbUJy+UNkaYMQ45GqrDmH AfEw== X-Gm-Message-State: AOAM530PevLtKxZHs6AiWRxDHQrV18u9VcOvuHaz+yGQXZ7NWzyHuwS6 VSjNqigilkJEQL2gMQM2Oz4nJPd4nn2YwAc2 X-Google-Smtp-Source: ABdhPJz39L/IW6nC5GFZdk5R8Gb4+jN928T2QkfigqKqwKoGCcVHfu3mDr9LeSBnnOBaSOI+pu5MUA== X-Received: by 2002:a1c:7e12:: with SMTP id z18mr4047680wmc.60.1631110657782; Wed, 08 Sep 2021 07:17:37 -0700 (PDT) Received: from localhost.localdomain ([2001:861:44c0:66c0:19d:2e13:ec0a:9d59]) by smtp.gmail.com with ESMTPSA id q13sm2339897wrv.79.2021.09.08.07.17.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 07:17:36 -0700 (PDT) From: Neil Armstrong To: u-boot@lists.denx.de Cc: u-boot-amlogic@groups.io, Neil Armstrong , Mark Kettenis Subject: [PATCH v2 5/9] distro_bootcmd: run pci enum for scsi_boot just like it is done for nvme_boot Date: Wed, 8 Sep 2021 16:17:24 +0200 Message-Id: <20210908141728.585797-5-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210908141728.585797-1-narmstrong@baylibre.com> References: <20210908141728.585797-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