public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: u-boot@emagii.com
To: u-boot@lists.denx.de
Cc: marex@denx.de, monstr@monstr.eu, sjg@chromium.org,
	Ulf Samuelsson <ulf@emagii.com>
Subject: [PATCH 4/4] mtd/Kconfig,Makefile support FPGA
Date: Sat, 11 Feb 2023 11:07:43 +0100	[thread overview]
Message-ID: <20230211100743.12087-5-u-boot@emagii.com> (raw)
In-Reply-To: <20230211100743.12087-1-u-boot@emagii.com>

From: Ulf Samuelsson <ulf@emagii.com>

Signed-off-by: Ulf Samuelsson <ulf@emagii.com>
---
 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


      parent reply	other threads:[~2023-02-11 10:08 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-11 10:07 [PATCH 0/4] FPGAs as Memory Technology Devices in U-Boot u-boot
2023-02-11 10:07 ` [PATCH 1/4] include/mtd/mtd-abi.h: Add FPGA as MTD device u-boot
2023-02-11 10:07 ` [PATCH 2/4] cmd/mtd.c: Support FPGAs in mtd command u-boot
2023-02-11 10:07 ` [PATCH 3/4] mtd/fpga: add fpga directory to mtd (with Cyclone 10) u-boot
2023-02-12 19:31   ` Marek Vasut
2023-02-12 19:52     ` Ulf Samuelsson
2023-02-12 20:01       ` Marek Vasut
2023-02-12 22:07         ` Ulf Samuelsson
2023-02-12 22:40           ` Marek Vasut
2023-02-13  9:30             ` Ulf Samuelsson
2023-02-20 16:17               ` Marek Vasut
2023-02-20 21:29                 ` Ulf Samuelsson
2023-02-20 22:34                   ` Marek Vasut
2023-02-20 23:47                     ` Ulf Samuelsson
2023-02-21  1:13                       ` Marek Vasut
2023-02-21  9:08                         ` Michael Walle
2023-02-21 10:42                           ` Ulf Samuelsson
2023-02-21 11:19                             ` Michael Walle
2023-02-21 11:20                               ` Michael Walle
2023-02-21 15:37                               ` Ulf Samuelsson
2023-02-21 16:01                                 ` Michael Walle
2023-02-21 10:58                           ` Ulf Samuelsson
2023-02-22 19:51                             ` Steffen Dirkwinkel
2023-02-23  8:28                               ` Ulf Samuelsson
2023-02-23  8:51                                 ` Steffen Dirkwinkel
2023-02-23  8:51                                   ` Steffen Dirkwinkel
2023-02-21 11:54                         ` Ulf Samuelsson
2023-02-11 10:07 ` u-boot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230211100743.12087-5-u-boot@emagii.com \
    --to=u-boot@emagii.com \
    --cc=marex@denx.de \
    --cc=monstr@monstr.eu \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=ulf@emagii.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox