Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 11A15C43334 for ; Mon, 13 Jun 2022 00:03:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7F5E08443C; Mon, 13 Jun 2022 02:02:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="PQP3ntKQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3CD2B842A3; Mon, 13 Jun 2022 02:02:19 +0200 (CEST) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 1CDD983EE8 for ; Mon, 13 Jun 2022 02:02:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x834.google.com with SMTP id k4so2929573qth.8 for ; Sun, 12 Jun 2022 17:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=p5nePFaJDV6B9frEF5tlOc6X4SX1Dktm296/WqrDSIQ=; b=PQP3ntKQ6VhMXdBr3ZG07oLnSP1+a8nd7RWi07NUBiu/u5MxzBnzmxAsC+NfsdCmYG aIvJQUDsviLinGCV8pRVFcGZv6kbXLlCW1rUWtF6S7HslKObOL13mO4UvG/M/+93ZEBQ YqldeDHntJaFqRhnBL+Xd1A3kribA/nB9WsII= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p5nePFaJDV6B9frEF5tlOc6X4SX1Dktm296/WqrDSIQ=; b=NJURrlYeSvW1UFcP+oRb47QvpqfLG5SoCpe+clgUvM+dckhIbPBZnQWQ0vaLBJSs3A 0Ruz5jlWS1U3f2HZSjYZzPpvsVrfuYfe7vqtHldQG73cqlbcreTsQ1i+8TzFN6ncSnmH GkyRx4Da1qEVVr9RCkGp/1xrDnip7dvCZf01qTbcUVlESI4rgZol+KLqipsk4hHv+vuu 8nQReipMP2+84vw0sZMjptMdRCt7EwvOK9JAT1mwzwEmJeqD+xx7CPVi/GJB0vcX8fsT byM6iAQRVFKH4fpuBnKHg73jFCEtYxtRkQd50SMUxkxUebshr2gLGH+O9yqGWsutd4x7 EpvQ== X-Gm-Message-State: AOAM531S+muYzDb2Y3qKQGhRopd1XtHMZ7/+0IbarM228Kk8PDGb6VR7 ZSEDjeygWhxdQjdCiiUZOTCxgU6JgUv9/A== X-Google-Smtp-Source: ABdhPJyG1RQEnfR6g/mWqgf6yr/oL8pfxvdcfOow8/5n25977DgIrwD7CZu61BFecjo8fKkvV2Ja1g== X-Received: by 2002:a05:622a:104d:b0:304:ec74:f7aa with SMTP id f13-20020a05622a104d00b00304ec74f7aamr30409493qte.109.1655078529613; Sun, 12 Jun 2022 17:02:09 -0700 (PDT) Received: from bill-the-cat.lan (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id h5-20020a05620a400500b006a6d4261f40sm2625551qko.111.2022.06.12.17.02.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 17:02:08 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 3/8] Convert CONFIG_FPGA_STRATIX_V to Kconfig Date: Sun, 12 Jun 2022 20:02:00 -0400 Message-Id: <20220613000205.891039-3-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220613000205.891039-1-trini@konsulko.com> References: <20220613000205.891039-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.5 at phobos.denx.de X-Virus-Status: Clean This converts the following to Kconfig: CONFIG_FPGA_STRATIX_V Signed-off-by: Tom Rini --- configs/theadorable_debug_defconfig | 1 + drivers/fpga/Kconfig | 6 ++++++ include/configs/theadorable.h | 3 --- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configs/theadorable_debug_defconfig b/configs/theadorable_debug_defconfig index 25eb2e88ec17..d47413c0a911 100644 --- a/configs/theadorable_debug_defconfig +++ b/configs/theadorable_debug_defconfig @@ -71,6 +71,7 @@ CONFIG_LBA48=y CONFIG_BOOTCOUNT_LIMIT=y CONFIG_BOOTCOUNT_RAM=y CONFIG_FPGA_ALTERA=y +CONFIG_FPGA_STRATIX_V=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_MVTWSI=y # CONFIG_MMC is not set diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index dc0b3dd31b7d..76719517f541 100644 --- a/drivers/fpga/Kconfig +++ b/drivers/fpga/Kconfig @@ -21,6 +21,12 @@ config FPGA_SOCFPGA This provides common functionality for Gen5 and Arria10 devices. +config FPGA_STRATIX_V + bool "Enable Stratix V FPGA drivers" + depends on FPGA_ALTERA + help + Say Y here to enable the Altera Stratix V FPGA specific driver. + config FPGA_CYCLON2 bool "Enable Altera FPGA driver for Cyclone II" depends on FPGA_ALTERA diff --git a/include/configs/theadorable.h b/include/configs/theadorable.h index 4f7c9647e292..94e1acd98ba7 100644 --- a/include/configs/theadorable.h +++ b/include/configs/theadorable.h @@ -40,9 +40,6 @@ "fdt_high=0x10000000\0" \ "initrd_high=0x10000000\0" -/* FPGA programming support */ -#define CONFIG_FPGA_STRATIX_V - /* * Bootcounter */ -- 2.25.1