Skip to contentSkip to conversation

at91: Remove non-devicetree board support for SAMA5D3 SOC

PATCH Applied Alexander Shiyan 2 participants 3 messages Mar 7, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 at91: Remove non-devicetree board support for SAMA5D3 SOC

Since all SAMA5D3 boards now do not use the devicetree, we can safely remove the board support files for this SOC.

---
 arch/arm/mach-at91/Kconfig           |   5 -
 arch/arm/mach-at91/Makefile          |   1 -
 arch/arm/mach-at91/sama5d3.c         | 410 ----------------------
 arch/arm/mach-at91/sama5d3_devices.c | 491 ---------------------------
 4 files changed, 907 deletions(-)
 delete mode 100644 arch/arm/mach-at91/sama5d3.c
 delete mode 100644 arch/arm/mach-at91/sama5d3_devices.c
arch/arm/mach-at91/Kconfig +0 -5
index 0b3a4ac44c..d63845437d 100644
@@ -269,10 +269,6 @@ config ARCH_AT91SAM9N12
 	bool "AT91SAM9N12"
 	select SOC_AT91SAM9N12
 
-config ARCH_SAMA5D3
-	bool "SAMA5D3x"
-	select SOC_SAMA5D3
-
 config ARCH_SAMA5D4
 	bool "SAMA5D4"
 	select SOC_SAMA5D4
@@ -289,7 +285,6 @@ config ARCH_BAREBOX_MAX_BARE_INIT_SIZE
 	default 0xF000 if ARCH_AT91SAM9G45
 	default 0x6000 if ARCH_AT91SAM9X5
 	default 0x6000 if ARCH_AT91SAM9N12
-	default 0x6000 if ARCH_SAMA5D3
 	default 0xffffffff
 
 if ARCH_AT91RM9200
arch/arm/mach-at91/Makefile +0 -1
index 857f77ab49..556e46f181 100644
@@ -27,7 +27,6 @@ obj-$(CONFIG_SOC_AT91SAM9G10) += at91sam9261.o at91sam9261_devices.o
 ifeq ($(CONFIG_AT91_MULTI_BOARDS),)
 obj-$(CONFIG_SOC_AT91SAM9260) += at91sam9260.o at91sam9260_devices.o
 obj-$(CONFIG_SOC_AT91SAM9263) += at91sam9263.o at91sam9263_devices.o
-obj-$(CONFIG_SOC_SAMA5D3)	+= sama5d3.o sama5d3_devices.o
 obj-$(CONFIG_SOC_SAMA5D4)	+= sama5d4.o sama5d4_devices.o
 endif
 lwl-$(CONFIG_SOC_AT91SAM9263)	+= sam9263_ll.o
arch/arm/mach-at91/sama5d3.c deleted +0 -0
deleted file mode 100644
index 447ac711b4..0000000000
arch/arm/mach-at91/sama5d3_devices.c deleted +0 -0
deleted file mode 100644
index f6d5617e5f..0000000000
Signature · 1 line
2.39.1
#2 lore raw
In reply to Alexander Shiyan
Quoted 2 lines · Alexander Shiyan

Since all SAMA5D3 boards now do not use the devicetree, we can safely remove the board support files for this SOC.

s/do not//

I fixed that while applying.

Sascha

Quoted 57 lines
---
 arch/arm/mach-at91/Kconfig           |   5 -
 arch/arm/mach-at91/Makefile          |   1 -
 arch/arm/mach-at91/sama5d3.c         | 410 ----------------------
 arch/arm/mach-at91/sama5d3_devices.c | 491 ---------------------------
 4 files changed, 907 deletions(-)
 delete mode 100644 arch/arm/mach-at91/sama5d3.c
 delete mode 100644 arch/arm/mach-at91/sama5d3_devices.c
arch/arm/mach-at91/Kconfig +0 -5
index 0b3a4ac44c..d63845437d 100644
@@ -269,10 +269,6 @@ config ARCH_AT91SAM9N12
 	bool "AT91SAM9N12"
 	select SOC_AT91SAM9N12
 
-config ARCH_SAMA5D3
-	bool "SAMA5D3x"
-	select SOC_SAMA5D3
-
 config ARCH_SAMA5D4
 	bool "SAMA5D4"
 	select SOC_SAMA5D4
@@ -289,7 +285,6 @@ config ARCH_BAREBOX_MAX_BARE_INIT_SIZE
 	default 0xF000 if ARCH_AT91SAM9G45
 	default 0x6000 if ARCH_AT91SAM9X5
 	default 0x6000 if ARCH_AT91SAM9N12
-	default 0x6000 if ARCH_SAMA5D3
 	default 0xffffffff
 
 if ARCH_AT91RM9200
arch/arm/mach-at91/Makefile +0 -1
index 857f77ab49..556e46f181 100644
@@ -27,7 +27,6 @@ obj-$(CONFIG_SOC_AT91SAM9G10) += at91sam9261.o at91sam9261_devices.o
 ifeq ($(CONFIG_AT91_MULTI_BOARDS),)
 obj-$(CONFIG_SOC_AT91SAM9260) += at91sam9260.o at91sam9260_devices.o
 obj-$(CONFIG_SOC_AT91SAM9263) += at91sam9263.o at91sam9263_devices.o
-obj-$(CONFIG_SOC_SAMA5D3)	+= sama5d3.o sama5d3_devices.o
 obj-$(CONFIG_SOC_SAMA5D4)	+= sama5d4.o sama5d4_devices.o
 endif
 lwl-$(CONFIG_SOC_AT91SAM9263)	+= sam9263_ll.o
arch/arm/mach-at91/sama5d3.c deleted +0 -0
deleted file mode 100644
index 447ac711b4..0000000000
arch/arm/mach-at91/sama5d3_devices.c deleted +0 -0
deleted file mode 100644
index f6d5617e5f..0000000000
Signature · 1 line
2.39.1
Signature · 4 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |