[RESEND v2 06/13] mach-sc5xx: Remove preliminary binman support

Caleb Ethridge
2026-04-02T15:48:56Z

Remove preliminary binman support from all sc5xx ADSP boards.
Full support was never added because it was unused.

Signed-off-by: Caleb Ethridge <caleb.ethridge@analog.com>
---
arch/arm/dts/sc5xx.dtsi | 41 -------------------------------------
arch/arm/mach-sc5xx/Kconfig | 33 -----------------------------
2 files changed, 74 deletions(-)

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 1486656b36b..cae5e4ea5d6 100644
--- a/arch/arm/mach-sc5xx/Kconfig
+++ b/arch/arm/mach-sc5xx/Kconfig
@@ -144,39 +144,6 @@ config SC5XX_LOADADDR
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
--
2.34.1