summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorOliver Gaskell <[email protected]>2024-09-12 16:50:56 +0100
committerTom Rini <[email protected]>2024-10-03 09:29:23 -0600
commite91d85e8fb9446ca9a0f396832637c0f586a0c39 (patch)
treed2c969154c95ca4588420528cc88d411f1df73d7 /common
parentdd9baf0bbdfd128b10d5396f9ca39c54b7758f6e (diff)
arm: SC594-SOM-EZKIT initial support
Adds support for Analog Devices' SC594-SOM-EZKIT board. Includes: - SoC specific configs in mach-sc5xx/Kconfig - Memory Map for SPL - SPL config options in common/spl/Kconfig - Necessary board-specific init functions - Board-specific Kconfig and environment in board/adi/ - Memory configuration Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Trevor Woerner <[email protected]> Signed-off-by: Trevor Woerner <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Co-developed-by: Ian Roberts <[email protected]> Signed-off-by: Ian Roberts <[email protected]> Signed-off-by: Oliver Gaskell <[email protected]>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 48775b04bb6..d46984b3eac 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -86,7 +86,7 @@ config SPL_MAX_SIZE
default 0x5fa0 if SUNXI_SRAM_ADDRESS = 0x0
default 0x10000 if ASPEED_AST2600
default 0x27000 if IMX8MM && SPL_TEXT_BASE = 0x7E1000
- default 0x30000 if ARCH_SC5XX && SC59X_64
+ default 0x30000 if ARCH_SC5XX && (SC59X_64 || SC59X)
default 0x0
help
Maximum size of the SPL image (text, data, rodata, and linker lists
@@ -123,7 +123,7 @@ config SPL_BSS_START_ADDR
default 0x4ff80000 if ARCH_SUNXI && !(MACH_SUN9I || MACH_SUNIV)
default 0x2ff80000 if ARCH_SUNXI && MACH_SUN9I
default 0x1000 if ARCH_ZYNQMP
- default 0x200B0000 if ARCH_SC5XX && SC59X_64
+ default 0x200B0000 if ARCH_SC5XX && (SC59X_64 || SC59X)
choice
prompt "Enforce SPL BSS limit"
@@ -394,7 +394,7 @@ config SPL_STACK
default 0x54000 if MACH_SUN50I || MACH_SUN50I_H5
default 0x18000 if MACH_SUN9I
default 0x8000 if ARCH_SUNXI
- default 0x200E4000 if ARCH_SC5XX && SC59X_64
+ default 0x200E4000 if ARCH_SC5XX && (SC59X_64 || SC59X)
help
Address of the start of the stack SPL will use before SDRAM is
initialized.
@@ -1130,6 +1130,7 @@ config SPL_PAYLOAD_ARGS_ADDR
depends on SPL_OS_BOOT || SPL_LOAD_FIT_OPENSBI_OS_BOOT
default 0x88000000 if ARCH_OMAP2PLUS
default 0x99000000 if ARCH_SC5XX && SC59X_64
+ default 0xA0000000 if ARCH_SC5XX && TARGET_SC594_SOM_EZKIT
help
Address in memory where the 'args' file, typically a device tree
will be loaded in to memory.