summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-06-04 12:24:50 -0600
committerTom Rini <[email protected]>2026-06-04 13:04:11 -0600
commit397a14dd7142f381bbd316a13cd7e82c88c7287c (patch)
tree2a2f5cdf64f7cd3e3a738e6ed75148fb75ba97c2 /arch/arm
parentcceccea3a99483fa6c78a9526246057374313a80 (diff)
parente8c00a5e2834b5c80930b1f3dc0d65380b927ec2 (diff)
Merge patch series "sc5xx Environment Cleanup and Fixes"
Caleb Ethridge <[email protected]> says: This series performs a general cleanup of the default U-boot environment for sc5xx boards, stemming from the decision to no longer store the environment in the SPI flash. The environments for each board have been edited to contain the minimum number of commands needed for all supported boot modes to avoid confusion, and the default boot command synced to spi for all boards that support it. The filesystem for the SPI flash has also been changed from jffs2 to ubifs. A bug with the Ethernet reset line on the sc594 has been fixed, and the sc573 has been renamed from the EZKIT to the EZLITE to match the name of the publically available board. EZKIT was only used internally before release. Preliminary binman support for sc5xx boards has been removed as it was unused and full support never added. Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/Makefile2
-rw-r--r--arch/arm/dts/sc573-ezlite.dts (renamed from arch/arm/dts/sc573-ezkit.dts)4
-rw-r--r--arch/arm/dts/sc594-som-ezkit.dts2
-rw-r--r--arch/arm/dts/sc5xx.dtsi41
-rw-r--r--arch/arm/mach-sc5xx/Kconfig71
-rw-r--r--arch/arm/mach-sc5xx/init/dmcinit.c2
6 files changed, 9 insertions, 113 deletions
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 77c9ab9e50c..9899ab1df2b 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -1169,7 +1169,7 @@ dtb-$(CONFIG_TARGET_IMX8MM_CL_IOT_GATE_OPTEE) += imx8mm-cl-iot-gate-optee.dtb \
imx8mm-cl-iot-gate-ied-tpm0.dtbo \
imx8mm-cl-iot-gate-ied-tpm1.dtbo
-dtb-$(CONFIG_TARGET_SC573_EZKIT) += sc573-ezkit.dtb
+dtb-$(CONFIG_TARGET_SC573_EZLITE) += sc573-ezlite.dtb
dtb-$(CONFIG_TARGET_SC584_EZKIT) += sc584-ezkit.dtb
dtb-$(CONFIG_TARGET_SC589_MINI) += sc589-mini.dtb
dtb-$(CONFIG_TARGET_SC589_EZKIT) += sc589-ezkit.dtb
diff --git a/arch/arm/dts/sc573-ezkit.dts b/arch/arm/dts/sc573-ezlite.dts
index 4a3d1ed5c56..57604d707f7 100644
--- a/arch/arm/dts/sc573-ezkit.dts
+++ b/arch/arm/dts/sc573-ezlite.dts
@@ -9,8 +9,8 @@
#include "sc57x.dtsi"
/ {
- model = "ADI SC573-EZKIT";
- compatible = "adi,sc573-ezkit", "adi,sc57x";
+ model = "ADI SC573-EZLITE";
+ compatible = "adi,sc573-ezlite", "adi,sc57x";
};
&i2c0 {
diff --git a/arch/arm/dts/sc594-som-ezkit.dts b/arch/arm/dts/sc594-som-ezkit.dts
index dea9a6e27f2..396502b6745 100644
--- a/arch/arm/dts/sc594-som-ezkit.dts
+++ b/arch/arm/dts/sc594-som-ezkit.dts
@@ -130,7 +130,7 @@
gige-reset {
gpio-hog;
- gpios = <15 GPIO_ACTIVE_HIGH>;
+ gpios = <15 GPIO_ACTIVE_LOW>;
output-high;
line-name = "gige-reset";
bootph-pre-ram;
diff --git a/arch/arm/dts/sc5xx.dtsi b/arch/arm/dts/sc5xx.dtsi
index 9d346ae62e0..072631e34f7 100644
--- a/arch/arm/dts/sc5xx.dtsi
+++ b/arch/arm/dts/sc5xx.dtsi
@@ -25,47 +25,6 @@
bootph-pre-ram;
};
-#ifdef CONFIG_SC5XX_USE_BINMAN
- binman {
- filename = CONFIG_SC5XX_BINMAN_FILENAME;
- stage1-boot {
- offset = <CONFIG_SC5XX_UBOOT_SPL_OFFSET>;
- type = "blob-ext";
- filename = "spl/u-boot-spl.ldr";
- };
-
- /* since falcon mode can jump from SPL to OS directly
- * full u-boot is optional
- *
- * @todo: review if we can say this given support has
- * not yet been upstreamed. Otherwise we might have to
- * invoke binman only for full u-boot.
- */
- stage2-boot {
- offset = <CONFIG_SC5XX_UBOOT_OFFSET>;
- type = "blob-ext";
- filename = "u-boot.ldr";
- optional;
- };
-
-#ifdef CONFIG_SC5XX_FITIMAGE_NAME
- fitImage {
- offset = <CONFIG_SC5XX_FITIMAGE_OFFSET>;
- type = "blob-ext";
- filename = CONFIG_SC5XX_FITIMAGE_NAME;
- };
-#endif
-
-#ifdef CONFIG_SC5XX_ROOTFS_NAME
- rfs {
- offset = <CONFIG_SC5XX_ROOTFS_OFFSET>;
- type = "blob-ext";
- filename = CONFIG_SC5XX_ROOTFS_NAME;
- };
-#endif
- };
-#endif
-
clocks {
dummy: dummy {
compatible = "fixed-clock";
diff --git a/arch/arm/mach-sc5xx/Kconfig b/arch/arm/mach-sc5xx/Kconfig
index cfa7ed46a82..0f4e63a355e 100644
--- a/arch/arm/mach-sc5xx/Kconfig
+++ b/arch/arm/mach-sc5xx/Kconfig
@@ -25,7 +25,7 @@ config SC57X
bool "SC57x series"
select COMMON_CLK_ADI_SC57X
select CPU_V7A
- select TARGET_SC573_EZKIT
+ select TARGET_SC573_EZLITE
config SC58X
bool "SC58x series"
@@ -51,8 +51,8 @@ endchoice
if SC57X
-config TARGET_SC573_EZKIT
- bool "Support SC573-EZKIT"
+config TARGET_SC573_EZLITE
+ bool "Support SC573-EZLITE"
endif
@@ -116,69 +116,6 @@ 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.
-
-menu "Binman configuration"
-config SC5XX_USE_BINMAN
- bool "Use binman for final image"
- select BINMAN
- help
- If you wish to use binman to assemble an image, say 'Y' here.
- This will enable binman-specific sections in the device tree.
-
-config SC5XX_BINMAN_FILENAME
- string "Image name"
- default "sc5xx-image.img"
- depends on SC5XX_USE_BINMAN
- help
- The name of the image that will be created by binman.
- This is used to create the final image.
-
-config SC5XX_FITIMAGE_NAME
- string "FitImage name"
- default "fitImage"
- depends on SC5XX_USE_BINMAN
- help
- The name of the fitImage to be packed by binman.
- This is used to create the final image.
-
-config SC5XX_ROOTFS_NAME
- string "RootFS name"
- default "rootfs"
- depends on SC5XX_USE_BINMAN
- help
- The name of the rootfs to be packed by binman.
- This is used to create the final image.
-endmenu
-
config ADI_IMAGE
string "ADI fitImage type"
help
@@ -633,6 +570,6 @@ source "board/adi/sc594-som-ezlite/Kconfig"
source "board/adi/sc589-ezkit/Kconfig"
source "board/adi/sc589-mini/Kconfig"
source "board/adi/sc584-ezkit/Kconfig"
-source "board/adi/sc573-ezkit/Kconfig"
+source "board/adi/sc573-ezlite/Kconfig"
endif
diff --git a/arch/arm/mach-sc5xx/init/dmcinit.c b/arch/arm/mach-sc5xx/init/dmcinit.c
index 12052613feb..2026735cc21 100644
--- a/arch/arm/mach-sc5xx/init/dmcinit.c
+++ b/arch/arm/mach-sc5xx/init/dmcinit.c
@@ -101,7 +101,7 @@
#ifdef CONFIG_TARGET_SC584_EZKIT
#define DMC_PADCTL2_VALUE 0x0078283C
-#elif CONFIG_TARGET_SC573_EZKIT
+#elif CONFIG_TARGET_SC573_EZLITE
#define DMC_PADCTL2_VALUE 0x00782828
#elif CONFIG_TARGET_SC589_MINI || CONFIG_TARGET_SC589_EZKIT
#define DMC_PADCTL2_VALUE 0x00783C3C