summaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorOliver Gaskell <[email protected]>2024-09-12 16:50:58 +0100
committerTom Rini <[email protected]>2024-10-03 09:29:23 -0600
commit07735eee98aac467a8539eaa02c3c64c73dfe864 (patch)
treea27345005219c9897f419ecc4425db19cbe00858 /common/spl
parent9e24d9a6156057914fcc8d2b1f004afb155e2fd8 (diff)
arm: SC584-EZKIT initial support
Adds support for Analog Devices' SC584-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]> Signed-off-by: Oliver Gaskell <[email protected]>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index e723ff19968..a7378bea8f2 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -87,6 +87,7 @@ config SPL_MAX_SIZE
default 0x10000 if ASPEED_AST2600
default 0x27000 if IMX8MM && SPL_TEXT_BASE = 0x7E1000
default 0x30000 if ARCH_SC5XX && (SC59X_64 || SC59X)
+ default 0x20000 if ARCH_SC5XX && SC58X
default 0x0
help
Maximum size of the SPL image (text, data, rodata, and linker lists
@@ -124,6 +125,7 @@ config SPL_BSS_START_ADDR
default 0x2ff80000 if ARCH_SUNXI && MACH_SUN9I
default 0x1000 if ARCH_ZYNQMP
default 0x200B0000 if ARCH_SC5XX && (SC59X_64 || SC59X)
+ default 0x20080000 if ARCH_SC5XX && SC58X
choice
prompt "Enforce SPL BSS limit"
@@ -395,6 +397,7 @@ config SPL_STACK
default 0x18000 if MACH_SUN9I
default 0x8000 if ARCH_SUNXI
default 0x200E4000 if ARCH_SC5XX && (SC59X_64 || SC59X)
+ default 0x200B0000 if ARCH_SC5XX && SC58X
help
Address of the start of the stack SPL will use before SDRAM is
initialized.