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=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 93431C433F5 for ; Fri, 17 Sep 2021 16:20:47 +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 14D3060D07 for ; Fri, 17 Sep 2021 16:20:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 14D3060D07 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org 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 E6A8983296; Fri, 17 Sep 2021 18:19:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="CpwoiMJJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C81E883223; Fri, 17 Sep 2021 18:18:23 +0200 (CEST) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 5C9D283221 for ; Fri, 17 Sep 2021 18:18:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-wr1-x42c.google.com with SMTP id g16so16048253wrb.3 for ; Fri, 17 Sep 2021 09:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DusockvPoEoMscGbhpHKdF0TbGj9MYJhkOPvYLxr0G4=; b=CpwoiMJJ+V1ytREmWA+O2WrFsndjlX10uRgzVaAeGmvnii2ZKI/RVMqdpAPe/taHYf Mdo8B8wFnhA+uVP4wCDen/Bf7unF9bml5ZIiaouTARPs/eBL3ONMQlbBHtdkk5uBwGOM KlB7m3+wWAtYxUfcjnR+riYYaz+cjmz7vcYts= 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=DusockvPoEoMscGbhpHKdF0TbGj9MYJhkOPvYLxr0G4=; b=8LR6gMgC2CVmUka92N+GKZO+b08y25TAZlmjHhUwJz/cfdJl0FIQaTU9vETdDTRsfw vqUBU4dt7VZL3Or4z2QbqUNeTJEUO5QWGNxDd5uZVFqhvEWVuSMiYYe5UJF6mU+YCXV5 0WFQvFb+KKYq5eCLsQvbPQrYw13t1uTH6Q2p47LnjIxOS5WQVQ5azM7tZfhYw0B0jA8u XG2suFvZEpXpHp8VfNEnLTX3DivLuPg1DbJ2IOgV8YrttUAvvsiKdcr3LHCXF/U8tt4y BvlIcL1LWrhRW3KvQ3q0R2/gixJv7y6K8djZNC6WQnFCcRFAeRerVjS78Y2XJiGBsbim CvYA== X-Gm-Message-State: AOAM530hM3ljSSeLR3BW18anfOlphEOYUeWbg++18bhRrYMw71MC2ZPZ K62f8dYkyGYLR2vrq7e6wSBAQpEiQT/s7lIh X-Google-Smtp-Source: ABdhPJzQ0uml8T+L3RAJVR1z5nseYIP9rnej28H3icHOpZYwT3M0HpTrg7zTp8+g5H/3L61bN6mLIw== X-Received: by 2002:a5d:4d0d:: with SMTP id z13mr13316524wrt.267.1631895479327; Fri, 17 Sep 2021 09:17:59 -0700 (PDT) Received: from sjg1.COMFAST (host-92-2-168-81.as13285.net. [92.2.168.81]) by smtp.gmail.com with ESMTPSA id 48sm7699906wrc.14.2021.09.17.09.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 09:17:58 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Masahiro Yamada , Simon Glass Subject: [PATCH 10/17] virtio: Add SPL Kconfig for virtio Date: Fri, 17 Sep 2021 10:17:33 -0600 Message-Id: <20210917161741.1275871-11-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.309.g3052b89438-goog In-Reply-To: <20210917161741.1275871-1-sjg@chromium.org> References: <20210917161741.1275871-1-sjg@chromium.org> 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 At present we rely on this not existing to avoid building virtio for SPL. But with the new split configs this does not work. Add a separate Kconfig instead. Signed-off-by: Simon Glass --- drivers/virtio/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index 863c3fbe029..2ac98edff58 100644 --- a/drivers/virtio/Kconfig +++ b/drivers/virtio/Kconfig @@ -22,6 +22,12 @@ config VIRTIO This option is selected by any driver which implements the virtio transport, such as CONFIG_VIRTIO_MMIO or CONFIG_VIRTIO_PCI. +config SPL_VIRTIO + bool + help + This option is selected by any driver which implements the virtio + transport, such as CONFIG_VIRTIO_MMIO or CONFIG_VIRTIO_PCI. + config VIRTIO_MMIO bool "Platform bus driver for memory mapped virtio devices" select VIRTIO -- 2.33.0.309.g3052b89438-goog