From patchwork Mon Jan 23 21:59:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1730683 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=OLaul1j1; 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P144z1KK1z23gY for ; Tue, 24 Jan 2023 09:09:07 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 645CA85768; Mon, 23 Jan 2023 23:06:58 +0100 (CET) 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="OLaul1j1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AC8DF85751; Mon, 23 Jan 2023 23:04:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 8DC39856DD for ; Mon, 23 Jan 2023 23:03:40 +0100 (CET) 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-io1-xd2c.google.com with SMTP id e204so6277657iof.1 for ; Mon, 23 Jan 2023 14:03:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YQGNyQ1+QWbErG8mpSJ8s5AC9JLiQsh6zwveUUk9XPw=; b=OLaul1j1ZRicrXVmjreWNiUzEUxK9TXMjm+7wpsDmSuSFEDCwkgTyoE5nHXxgDIzcF Os3yBfJNtfSb7dnyary7t7ytUVBhcim2dcf3G0MKNTf1LGbkevOqbZZNCEcrLM+jyBnf U3ufLwK5wkxGB8cI8U9HxC3pPjRR05G4Zpv5o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YQGNyQ1+QWbErG8mpSJ8s5AC9JLiQsh6zwveUUk9XPw=; b=H33YdgvD4s7vaTrTGzeMqWg+RdriwFnHyJ3aJaa0bpiVGCVmZ8sbONAJskSinn1Vm+ uQSBMCmquNAPa2+bZICZIRcbX/g3vqmwBTNIZgH0UWpgrIhwcQX7RaARU+9OipI8oJEM 4If1hexG2V0eyqdxDHSEqosdJHXhaxfayTzYJBhfP5T0s6hE7e0BuS+QKYpEjgje8wlA x9Av2woZ6x4rFlNmjFax8FolcSpJWS7qzo5Rw1Q/XPTv2+HCMOh72Z6fCLcWexN1Srmp 2l/vw8+KI13KRNNrrQ/P40VxICwVoqWnUa3sMomw/SCx8J0ALcqn3LUx2XOiLIMJu1Bi DEew== X-Gm-Message-State: AFqh2kpYd2a6b0ICUplPoMWI/e28//XysWqITEfd/DHu849Y7k7ZZx8m V7SJUstIyfDpHXtWYMbpZuXYTpvJNBXOAlzy X-Google-Smtp-Source: AMrXdXvDxjaJyKNX/UFpNjJqGq169YDaAubyAbL0MCIfhRQwjNOfhLsFQH7QJLegFcN4b+ccISl7Pw== X-Received: by 2002:a6b:c8ca:0:b0:704:b0c0:d273 with SMTP id y193-20020a6bc8ca000000b00704b0c0d273mr18047429iof.20.1674511369269; Mon, 23 Jan 2023 14:02:49 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:b357:a759:c191:fe47]) by smtp.gmail.com with ESMTPSA id j8-20020a02a688000000b003a0e665ad11sm110915jam.13.2023.01.23.14.02.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 14:02:49 -0800 (PST) From: Simon Glass To: u-boot@lists.denx.de Cc: Tom Rini , Simon Glass , Michal Simek Subject: [PATCH 23/88] fpga: Add a LATTICE option Date: Mon, 23 Jan 2023 14:59:26 -0700 Message-Id: <20230123220031.3540724-24-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230123220031.3540724-1-sjg@chromium.org> References: <20230123220031.3540724-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean There is no Kconfig option for this code, but it seems to be useful. Add one. Signed-off-by: Simon Glass --- drivers/fpga/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index 4113de230cd..2034d0ebd9c 100644 --- a/drivers/fpga/Kconfig +++ b/drivers/fpga/Kconfig @@ -54,6 +54,12 @@ config FPGA_INTEL_SDM_MAILBOX Enable FPGA driver for writing full bitstream into Intel FPGA devices through SDM (Secure Device Manager) Mailbox. +config FPGA_LATTICE + bool "Enable Lattice FPGA driver" + help + This is used for the lattice FPGAs. Please check the source code as + there is no documentation for this at present. + config FPGA_XILINX bool "Enable Xilinx FPGA drivers" select FPGA