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 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 AAACEC636CC for ; Sat, 11 Feb 2023 10:08:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 29D4F857C2; Sat, 11 Feb 2023 11:08:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=emagii.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=emagii.com header.i=@emagii.com header.b="a0XN+5yl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0B83B856B2; Sat, 11 Feb 2023 11:08:05 +0100 (CET) Received: from emagii.se (www.emagii.com [185.133.207.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7BAAB8577F for ; Sat, 11 Feb 2023 11:07:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=emagii.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot@emagii.com Received: from valinor.ownit.se (84-55-68-216.customers.ownit.se [84.55.68.216]) by emagii.se (Postfix) with ESMTPSA id C1B7B1201F2; Sat, 11 Feb 2023 11:07:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emagii.com; s=default; t=1676110074; bh=w/u6sD/r6qVaOXgCIna1mAtxhEX/n0AGkdheP4FcniY=; h=From:To:Subject; b=a0XN+5yl7vZf8/OaCZqtrdRUDwXzw33/JsX9VDCEMtKx6E3nTSwu0+SxcRw7/0YM4 zXGuFq/vQDZRWRIv0LMfot6bCFwDlCQXobcpb2nLayQiEij8kYuqtg/ULts+uoi3pv pDhsItWLwJ3h6vBEN4izm32TYa+HJfwq0Vozy6RE= Authentication-Results: emagii.beebytevps.io; spf=pass (sender IP is 84.55.68.216) smtp.mailfrom=u-boot@emagii.com smtp.helo=valinor.ownit.se Received-SPF: pass (emagii.beebytevps.io: connection is authenticated) From: u-boot@emagii.com To: u-boot@lists.denx.de Cc: marex@denx.de, monstr@monstr.eu, sjg@chromium.org, Ulf Samuelsson Subject: [PATCH 4/4] mtd/Kconfig,Makefile support FPGA Date: Sat, 11 Feb 2023 11:07:43 +0100 Message-Id: <20230211100743.12087-5-u-boot@emagii.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230211100743.12087-1-u-boot@emagii.com> References: <20230211100743.12087-1-u-boot@emagii.com> X-PPP-Message-ID: <167611007405.3658178.8796697938072407668@localhost.localdomain> X-PPP-Vhost: emagii.com 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: , Reply-To: u-boot@emagii.com 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 From: Ulf Samuelsson Signed-off-by: Ulf Samuelsson --- drivers/mtd/Kconfig | 2 ++ drivers/mtd/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index af45ef00da..495211e314 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -238,6 +238,8 @@ config SYS_MAX_FLASH_BANKS_DETECT to reduce the effective number of flash bank, between 0 and CONFIG_SYS_MAX_FLASH_BANKS +source "drivers/mtd/fpga/Kconfig" + source "drivers/mtd/nand/Kconfig" config SYS_NAND_MAX_OOBFREE diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile index 3a78590aaa..d15ca24ec5 100644 --- a/drivers/mtd/Makefile +++ b/drivers/mtd/Makefile @@ -24,6 +24,7 @@ endif obj-y += nand/ obj-y += onenand/ obj-y += spi/ +obj-$(CONFIG_DM_SPI_FPGA) += fpga/ obj-$(CONFIG_MTD_UBI) += ubi/ #SPL/TPL build -- 2.17.1