[PATCH] at91: Remove non-devicetree board support for SAMA5D3 SOC

Sascha Hauer s.hauer at pengutronix.de
Thu Mar 6 23:51:56 PST 2025


On Fri, Mar 07, 2025 at 08:51:35AM +0300, Alexander Shiyan wrote:
> 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

> 
> Signed-off-by: Alexander Shiyan <eagle.alexander923 at gmail.com>
> ---
>  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
> 
> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> index 0b3a4ac44c..d63845437d 100644
> --- a/arch/arm/mach-at91/Kconfig
> +++ b/arch/arm/mach-at91/Kconfig
> @@ -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
> diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
> index 857f77ab49..556e46f181 100644
> --- a/arch/arm/mach-at91/Makefile
> +++ b/arch/arm/mach-at91/Makefile
> @@ -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
> diff --git a/arch/arm/mach-at91/sama5d3.c b/arch/arm/mach-at91/sama5d3.c
> deleted file mode 100644
> index 447ac711b4..0000000000
> diff --git a/arch/arm/mach-at91/sama5d3_devices.c b/arch/arm/mach-at91/sama5d3_devices.c
> deleted file mode 100644
> index f6d5617e5f..0000000000
> -- 
> 2.39.1
> 
> 
> 

-- 
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 |



More information about the barebox mailing list