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 <greg.malysa@timesys.com>
Signed-off-by: Greg Malysa <greg.malysa@timesys.com>
Co-developed-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Co-developed-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
Co-developed-by: Ian Roberts <ian.roberts@timesys.com>
Signed-off-by: Ian Roberts <ian.roberts@timesys.com>
Signed-off-by: Oliver Gaskell <Oliver.Gaskell@analog.com>
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 48775b0..d46984b 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -86,7 +86,7 @@
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 @@
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 @@
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 @@
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.