From: Greg Malysa <malysagreg@gmail.com>
To: u-boot@lists.denx.de
Cc: adsp-linux@analog.com, Utsav Agarwal <utsav.agarwal@analog.com>,
Greg Malysa <malysagreg@gmail.com>,
Arturs Artamonovs <arturs.artamonovs@analog.com>,
Ian Roberts <ian.roberts@timesys.com>,
Nathan Barrett-Morrison <nathan.morrison@timesys.com>,
Oliver Gaskell <Oliver.Gaskell@analog.com>,
Tom Rini <trini@konsulko.com>,
Trevor Woerner <twoerner@gmail.com>,
Vasileios Bimpikas <vasileios.bimpikas@analog.com>
Subject: [PATCH 01/10] mach-sc5xx: Introduce Kconfig symbols for image addresses
Date: Mon, 2 Jun 2025 15:44:39 -0400 [thread overview]
Message-ID: <20250602194507.15159-2-malysagreg@gmail.com> (raw)
In-Reply-To: <20250602194507.15159-1-malysagreg@gmail.com>
From: Utsav Agarwal <utsav.agarwal@analog.com>
Add Kconfig symbols to parameterize the SPI flash layout used in a
default-ish configuration. This adds more flexibility to the default ADI
environment, enabling customers with boards based on but not identical
to an ezkit to reuse more of the infrastructure. Furthermore it allows
for yocto (the expected default) or binman (to be introduced in this
series) to configure or use the flash layout based on a single
definition of all of the parameters when creating an image.
Signed-off-by: Greg Malysa <malysagreg@gmail.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
---
---
arch/arm/mach-sc5xx/Kconfig | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/mach-sc5xx/Kconfig b/arch/arm/mach-sc5xx/Kconfig
index 30444f04fc4..70c7e5e0631 100644
--- a/arch/arm/mach-sc5xx/Kconfig
+++ b/arch/arm/mach-sc5xx/Kconfig
@@ -117,6 +117,36 @@ endchoice
endif
+config SC5XX_UBOOT_SPL_OFFSET
+ hex "SPL offset"
+ default 0x0
+ help
+ The default offset where the SPL is located.
+
+config SC5XX_UBOOT_OFFSET
+ hex "U-Boot offset"
+ default 0x40000
+ help
+ The default offset where u-boot is located.
+
+config SC5XX_FITIMAGE_OFFSET
+ hex "FitImage offset"
+ default 0x1a0000
+ help
+ The default offset where the fitImage is located.
+
+config SC5XX_ROOTFS_OFFSET
+ hex "RootFS offset"
+ default 0x102000
+ help
+ The default offset where the rootfs is located.
+
+config SC5XX_LOADADDR
+ hex "Load address"
+ default 0x90000000
+ help
+ The default load address for u-boot.
+
config ADI_IMAGE
string "ADI fitImage type"
help
--
2.45.2
next prev parent reply other threads:[~2025-06-02 19:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-02 19:44 [PATCH 00/10] sc5xx: Add complete board support for all ADI SC5xx boards Greg Malysa
2025-06-02 19:44 ` Greg Malysa [this message]
2025-06-02 19:44 ` [PATCH 02/10] mach-sc5xx: Add binman support Greg Malysa
2025-06-02 19:44 ` [PATCH 03/10] docker: add ADI build-related tools to docker image Greg Malysa
2025-06-02 20:11 ` Heinrich Schuchardt
[not found] ` <CABdDSeV0D2n223hu+2pAp0x_UksGU=15m09pwY7edgpP5kZ9_w@mail.gmail.com>
2025-06-03 7:06 ` Greg Malysa
2025-06-02 19:44 ` [PATCH 04/10] board: adi: Add SOMCRR infrastructure Greg Malysa
2025-06-02 19:44 ` [PATCH 05/10] board: adi: Add support for SC573-ezkit Greg Malysa
2025-06-02 19:44 ` [PATCH 06/10] board: adi: Add support for SC589 boards Greg Malysa
2025-06-02 19:44 ` [PATCH 07/10] board: adi: Add support for SC584 Greg Malysa
2025-06-02 19:44 ` [PATCH 08/10] board: adi: Add support for SC598 Greg Malysa
2025-06-02 19:44 ` [PATCH 09/10] board: adi: Add support for SC594 Greg Malysa
2025-06-02 19:44 ` [PATCH 10/10] MAINTAINERS: Update ADI entries for new boards Greg Malysa
2025-06-05 17:12 ` Tom Rini
2025-07-09 19:14 ` Greg Malysa
2025-07-11 15:48 ` 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=20250602194507.15159-2-malysagreg@gmail.com \
--to=malysagreg@gmail.com \
--cc=Oliver.Gaskell@analog.com \
--cc=adsp-linux@analog.com \
--cc=arturs.artamonovs@analog.com \
--cc=ian.roberts@timesys.com \
--cc=nathan.morrison@timesys.com \
--cc=trini@konsulko.com \
--cc=twoerner@gmail.com \
--cc=u-boot@lists.denx.de \
--cc=utsav.agarwal@analog.com \
--cc=vasileios.bimpikas@analog.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