From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07955C433EF for ; Fri, 17 Sep 2021 07:38:14 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6A63160FC2 for ; Fri, 17 Sep 2021 07:38:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6A63160FC2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 92A4E83252; Fri, 17 Sep 2021 09:37:46 +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="4QPgh1Nk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8E39783202; Fri, 17 Sep 2021 09:37:23 +0200 (CEST) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 E42E083208 for ; Fri, 17 Sep 2021 09:37:15 +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-x435.google.com with SMTP id i23so13620803wrb.2 for ; Fri, 17 Sep 2021 00:37:15 -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=C8E2qbaf7N0jIDuLpNYyFY9uxgua9aYGDxUzGtqDqMQ=; b=4QPgh1NkXAQJ0H/xdyOrjQUfZRZNHUi2+/RN3g+rhrE7tn+vmkc6MSaBMDu/rhum6Y HYbAeeW/5JALXP/d4FttKh+ChQCBX8ECzX5IDYGjqpTLed9RLQ2loST9P04ASibi/V4V ZGlV5jSepiyx14xkvSNAS6DbUJkhDyvGbHrO/uTkVjdAE91OfzPiZwOszVOP/Scyuyxk JJm2w5Pi5aycJdvSUfJ6MBRlY4I/fQyppbDpDCSMDGBMdRHLIG6MAGdnlnrSZekUUQye fxVO+OrLghi2ZOeQHbUr8xHlWKsqdxQUlf7kCzKH9FLiSHGuDaHYy9FLjsS4L/GoJ8nM PekA== 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=C8E2qbaf7N0jIDuLpNYyFY9uxgua9aYGDxUzGtqDqMQ=; b=LBSZzd72j8kHF+mLffJSQap8n2hUKaHhdhUii4pR8okl4u2gX6h8N90a4Qr6dmVWLX fve/lBcg2/hJiLihuw1FvCR1P9u/zJfyVKDC3np4gvM7SclSkqAxrcz+hMxk2GdKTAP6 X/TVtTsWFA1vE8CDmH6pTnEOsEcvEvjdHZ7PYgkhjRTymyq2G71gBnEYr4VWzf17f+nW L5x1EX8zO79hDI3yBDECEQ5/Zc6fGvdl5mWo9Q+MQBg7g1ARiEltOJHem4ZOXbZRL0Yq +D5JHDtpfMCJQA3zkQ0ICKrsWhh8x3rduuzARyPll7yXnCDZ+CDkg9hpDkd/zNwVfOxJ FYtw== X-Gm-Message-State: AOAM531HXDLHlUXQ4rAltcuQKknEUvki+yQhALi8RboRq5fZ1h15ROH/ qYyBW06H3Qs66a3KyrAea3x682H3671c26Vj X-Google-Smtp-Source: ABdhPJxUDyEwWNPa37Vi3AiCMclO1GtnISwdGF6DCYMb1PYO7QT9GwfHkK4mlvC1Oi/Dl1sTaLYelA== X-Received: by 2002:adf:80e2:: with SMTP id 89mr10337950wrl.43.1631864235092; Fri, 17 Sep 2021 00:37:15 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 00:37:14 -0700 (PDT) From: Neil Armstrong To: u-boot@lists.denx.de Cc: u-boot-amlogic@groups.io, Neil Armstrong , Mark Kettenis Subject: [PATCH v3 05/10] configs: meson64: add SCSI boot target Date: Fri, 17 Sep 2021 09:37:04 +0200 Message-Id: <20210917073709.1052133-5-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 Content-Transfer-Encoding: 8bit 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 Add SCSI target to be able to boot from the SATA disks on the Odroid HC4 using an on-board AHCI PCIe controller. Signed-off-by: Neil Armstrong Signed-off-by: Mark Kettenis --- include/configs/meson64.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/configs/meson64.h b/include/configs/meson64.h index f9bb0240d2..08816fff1f 100644 --- a/include/configs/meson64.h +++ b/include/configs/meson64.h @@ -66,6 +66,12 @@ #define BOOT_TARGET_NVME(func) #endif +#ifdef CONFIG_CMD_SCSI + #define BOOT_TARGET_SCSI(func) func(SCSI, scsi, 0) +#else + #define BOOT_TARGET_SCSI(func) +#endif + #ifndef BOOT_TARGET_DEVICES #define BOOT_TARGET_DEVICES(func) \ func(ROMUSB, romusb, na) \ @@ -74,6 +80,7 @@ func(MMC, mmc, 2) \ BOOT_TARGET_DEVICES_USB(func) \ BOOT_TARGET_NVME(func) \ + BOOT_TARGET_SCSI(func) \ func(PXE, pxe, na) \ func(DHCP, dhcp, na) #endif -- 2.25.1