From: Roger Quadros <rogerq@kernel.org>
To: trini@konsulko.com, sjg@chromium.org
Cc: u-boot@lists.denx.de, praneeth@ti.com, Roger Quadros <rogerq@kernel.org>
Subject: [u-boot][PATCH v3 2/4] scripts: Makefile.spl: Enable memory drivers to be built for SPL
Date: Thu, 20 Oct 2022 16:30:47 +0300 [thread overview]
Message-ID: <20221020133049.8398-3-rogerq@kernel.org> (raw)
In-Reply-To: <20221020133049.8398-1-rogerq@kernel.org>
Introduce CONFIG_SPL_MEMORY to allow Memory drivers to
be built for SPL.
Signed-off-by: Roger Quadros <rogerq@kernel.org>
---
common/spl/Kconfig | 7 +++++++
scripts/Makefile.spl | 1 +
2 files changed, 8 insertions(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 70d97815f0..186131a699 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -789,6 +789,13 @@ config SPL_DM_MAILBOX
this option to build the drivers in drivers/mailbox as part of
SPL build.
+config SPL_MEMORY
+ bool "Support Memory controller drivers"
+ help
+ Enable support for Memory Controller drivers within SPL.
+ These devices provide Memory bus interface to various devices like
+ SRAM, Ethernet adapters, FPGAs, etc.
+
config SPL_MMC
bool "Support MMC"
depends on MMC
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 3bafeb4fe9..a1892bff7f 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -114,6 +114,7 @@ libs-$(CONFIG_PARTITIONS) += disk/
endif
libs-y += drivers/
+libs-$(CONFIG_SPL_MEMORY) += drivers/memory/
libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/dwc3/
libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/cdns3/
libs-y += dts/
--
2.17.1
next prev parent reply other threads:[~2022-10-20 13:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-20 13:30 [u-boot][PATCH v3 0/4] Introduce MEMORY uclass and TI GPMC driver Roger Quadros
2022-10-20 13:30 ` [u-boot][PATCH v3 1/4] dm: memory: Introduce new uclass Roger Quadros
2022-10-26 19:27 ` Tom Rini
2022-10-20 13:30 ` Roger Quadros [this message]
2022-10-21 20:17 ` [u-boot][PATCH v3 2/4] scripts: Makefile.spl: Enable memory drivers to be built for SPL Simon Glass
2022-10-26 19:27 ` Tom Rini
2022-10-20 13:30 ` [u-boot][PATCH v3 3/4] dt/bindings: memory: Add bindings for TI GPMC driver Roger Quadros
2022-10-26 19:27 ` Tom Rini
2022-10-20 13:30 ` [u-boot][PATCH v3 4/4] memory: Add " Roger Quadros
2022-10-26 19:27 ` Tom Rini
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=20221020133049.8398-3-rogerq@kernel.org \
--to=rogerq@kernel.org \
--cc=praneeth@ti.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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