Re: [PATCH 10/15] ARM: remove non PBL Atmel boards

2024-04-26 Thread Sam Ravnborg
On Fri, Apr 26, 2024 at 12:59:10PM +0200, Sascha Hauer wrote:
> Hi Sam,
> 
> On Thu, Apr 25, 2024 at 06:56:48PM +0200, Sam Ravnborg wrote:
> > Hi Sascha
> > 
> > On Thu, Apr 25, 2024 at 01:54:34PM +0200, Sascha Hauer wrote:
> > > Some Atmel AT91 boards still do not have PBL support which becomes
> > > mandatory soon. Remove these boards.
> > > 
> > > Signed-off-by: Sascha Hauer 
> > > ---
> > >  arch/arm/boards/Makefile  |   3 -
> > >  arch/arm/boards/sama5d3xek/Makefile   |   6 -
> > >  .../defaultenv-sama5d3xek/bin/init_board  |  15 -
> > >  .../sama5d3xek/defaultenv-sama5d3xek/config   |  44 --
> > >  arch/arm/boards/sama5d3xek/hw_version.c   | 236 -
> > >  arch/arm/boards/sama5d3xek/hw_version.h   |  40 --
> > >  arch/arm/boards/sama5d3xek/init.c | 475 --
> > >  arch/arm/boards/sama5d3xek/lowlevel.c |  23 -
> > >  arch/arm/boards/sama5d4_xplained/Makefile |   4 -
> > I have patches that DT enable this board, and an attempt to
> > add PBL support (which did not succeed).
> > 
> > I did not touch the patches since last summer, so some rebasing is
> > required.
> > I will try to find time to give it a spin within the next days and
> > post the result.
> 
> Ok, thanks. I'll mark the board as broken then instead of removing it.
Good plan then you do not need to wait for me.
The rest of the patches looked like nice cleanup all over.

Sam



Re: [PATCH 10/15] ARM: remove non PBL Atmel boards

2024-04-26 Thread Sascha Hauer
Hi Sam,

On Thu, Apr 25, 2024 at 06:56:48PM +0200, Sam Ravnborg wrote:
> Hi Sascha
> 
> On Thu, Apr 25, 2024 at 01:54:34PM +0200, Sascha Hauer wrote:
> > Some Atmel AT91 boards still do not have PBL support which becomes
> > mandatory soon. Remove these boards.
> > 
> > Signed-off-by: Sascha Hauer 
> > ---
> >  arch/arm/boards/Makefile  |   3 -
> >  arch/arm/boards/sama5d3xek/Makefile   |   6 -
> >  .../defaultenv-sama5d3xek/bin/init_board  |  15 -
> >  .../sama5d3xek/defaultenv-sama5d3xek/config   |  44 --
> >  arch/arm/boards/sama5d3xek/hw_version.c   | 236 -
> >  arch/arm/boards/sama5d3xek/hw_version.h   |  40 --
> >  arch/arm/boards/sama5d3xek/init.c | 475 --
> >  arch/arm/boards/sama5d3xek/lowlevel.c |  23 -
> >  arch/arm/boards/sama5d4_xplained/Makefile |   4 -
> I have patches that DT enable this board, and an attempt to
> add PBL support (which did not succeed).
> 
> I did not touch the patches since last summer, so some rebasing is
> required.
> I will try to find time to give it a spin within the next days and
> post the result.

Ok, thanks. I'll mark the board as broken then instead of removing it.

Sascha

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



Re: [PATCH 10/15] ARM: remove non PBL Atmel boards

2024-04-25 Thread Sam Ravnborg
Hi Sascha

On Thu, Apr 25, 2024 at 01:54:34PM +0200, Sascha Hauer wrote:
> Some Atmel AT91 boards still do not have PBL support which becomes
> mandatory soon. Remove these boards.
> 
> Signed-off-by: Sascha Hauer 
> ---
>  arch/arm/boards/Makefile  |   3 -
>  arch/arm/boards/sama5d3xek/Makefile   |   6 -
>  .../defaultenv-sama5d3xek/bin/init_board  |  15 -
>  .../sama5d3xek/defaultenv-sama5d3xek/config   |  44 --
>  arch/arm/boards/sama5d3xek/hw_version.c   | 236 -
>  arch/arm/boards/sama5d3xek/hw_version.h   |  40 --
>  arch/arm/boards/sama5d3xek/init.c | 475 --
>  arch/arm/boards/sama5d3xek/lowlevel.c |  23 -
>  arch/arm/boards/sama5d4_xplained/Makefile |   4 -
I have patches that DT enable this board, and an attempt to
add PBL support (which did not succeed).

I did not touch the patches since last summer, so some rebasing is
required.
I will try to find time to give it a spin within the next days and
post the result.

Sam



[PATCH 10/15] ARM: remove non PBL Atmel boards

2024-04-25 Thread Sascha Hauer
Some Atmel AT91 boards still do not have PBL support which becomes
mandatory soon. Remove these boards.

Signed-off-by: Sascha Hauer 
---
 arch/arm/boards/Makefile  |   3 -
 arch/arm/boards/sama5d3xek/Makefile   |   6 -
 .../defaultenv-sama5d3xek/bin/init_board  |  15 -
 .../sama5d3xek/defaultenv-sama5d3xek/config   |  44 --
 arch/arm/boards/sama5d3xek/hw_version.c   | 236 -
 arch/arm/boards/sama5d3xek/hw_version.h   |  40 --
 arch/arm/boards/sama5d3xek/init.c | 475 --
 arch/arm/boards/sama5d3xek/lowlevel.c |  23 -
 arch/arm/boards/sama5d4_xplained/Makefile |   4 -
 arch/arm/boards/sama5d4_xplained/env/boot/mmc |   8 -
 .../arm/boards/sama5d4_xplained/env/boot/nand |   8 -
 .../sama5d4_xplained/env/init/automount   |   5 -
 .../sama5d4_xplained/env/init/mtdparts-nand   |   6 -
 .../boards/sama5d4_xplained/env/init/splash   |  15 -
 .../sama5d4_xplained/env/nv/boot.default  |   1 -
 .../env/nv/linux.bootargs.console |   1 -
 arch/arm/boards/sama5d4_xplained/lowlevel.c   |  23 -
 .../sama5d4_xplained/sama5d4_xplained.c   | 320 
 arch/arm/boards/sama5d4ek/Makefile|   4 -
 arch/arm/boards/sama5d4ek/env/boot/nand   |   6 -
 .../boards/sama5d4ek/env/init/mtdparts-nand   |   6 -
 .../boards/sama5d4ek/env/init/mtdparts-nor|   6 -
 arch/arm/boards/sama5d4ek/env/init/splash |  10 -
 arch/arm/boards/sama5d4ek/env/nv/boot.default |   1 -
 arch/arm/boards/sama5d4ek/env/nv/hostname |   1 -
 .../sama5d4ek/env/nv/linux.bootargs.console   |   1 -
 arch/arm/boards/sama5d4ek/lowlevel.c  |  23 -
 arch/arm/boards/sama5d4ek/sama5d4ek.c | 318 
 arch/arm/configs/sama5d4_xplained_defconfig   |  84 
 arch/arm/configs/sama5d4ek_defconfig  |  83 ---
 arch/arm/mach-at91/Kconfig|  36 --
 31 files changed, 1812 deletions(-)
 delete mode 100644 arch/arm/boards/sama5d3xek/Makefile
 delete mode 100644 
arch/arm/boards/sama5d3xek/defaultenv-sama5d3xek/bin/init_board
 delete mode 100644 arch/arm/boards/sama5d3xek/defaultenv-sama5d3xek/config
 delete mode 100644 arch/arm/boards/sama5d3xek/hw_version.c
 delete mode 100644 arch/arm/boards/sama5d3xek/hw_version.h
 delete mode 100644 arch/arm/boards/sama5d3xek/init.c
 delete mode 100644 arch/arm/boards/sama5d3xek/lowlevel.c
 delete mode 100644 arch/arm/boards/sama5d4_xplained/Makefile
 delete mode 100644 arch/arm/boards/sama5d4_xplained/env/boot/mmc
 delete mode 100644 arch/arm/boards/sama5d4_xplained/env/boot/nand
 delete mode 100644 arch/arm/boards/sama5d4_xplained/env/init/automount
 delete mode 100644 arch/arm/boards/sama5d4_xplained/env/init/mtdparts-nand
 delete mode 100644 arch/arm/boards/sama5d4_xplained/env/init/splash
 delete mode 100644 arch/arm/boards/sama5d4_xplained/env/nv/boot.default
 delete mode 100644 
arch/arm/boards/sama5d4_xplained/env/nv/linux.bootargs.console
 delete mode 100644 arch/arm/boards/sama5d4_xplained/lowlevel.c
 delete mode 100644 arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c
 delete mode 100644 arch/arm/boards/sama5d4ek/Makefile
 delete mode 100644 arch/arm/boards/sama5d4ek/env/boot/nand
 delete mode 100644 arch/arm/boards/sama5d4ek/env/init/mtdparts-nand
 delete mode 100644 arch/arm/boards/sama5d4ek/env/init/mtdparts-nor
 delete mode 100644 arch/arm/boards/sama5d4ek/env/init/splash
 delete mode 100644 arch/arm/boards/sama5d4ek/env/nv/boot.default
 delete mode 100644 arch/arm/boards/sama5d4ek/env/nv/hostname
 delete mode 100644 arch/arm/boards/sama5d4ek/env/nv/linux.bootargs.console
 delete mode 100644 arch/arm/boards/sama5d4ek/lowlevel.c
 delete mode 100644 arch/arm/boards/sama5d4ek/sama5d4ek.c
 delete mode 100644 arch/arm/configs/sama5d4_xplained_defconfig
 delete mode 100644 arch/arm/configs/sama5d4ek_defconfig

diff --git a/arch/arm/boards/Makefile b/arch/arm/boards/Makefile
index 6e9e6798ba..fc8c032ec1 100644
--- a/arch/arm/boards/Makefile
+++ b/arch/arm/boards/Makefile
@@ -103,13 +103,10 @@ obj-$(CONFIG_MACH_SKOV_IMX8MP)+= 
skov-imx8mp/
 obj-$(CONFIG_MACH_FREESCALE_IMX6SX_SABRESDB)   += freescale-mx6sx-sabresdb/
 obj-$(CONFIG_MACH_SAMA5D27_GIANTBOARD) += sama5d27-giantboard/
 obj-$(CONFIG_MACH_SAMA5D27_SOM1)   += sama5d27-som1/
-obj-$(CONFIG_MACH_SAMA5D3XEK)  += sama5d3xek/
 obj-$(CONFIG_MACH_SAMA5D3_XPLAINED)+= sama5d3_xplained/
 obj-$(CONFIG_MACH_MICROCHIP_KSZ9477_EVB)   += microchip-ksz9477-evb/
 obj-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS)   += microchip-sama5d3-eds/
-obj-$(CONFIG_MACH_SAMA5D4_XPLAINED)+= sama5d4_xplained/
 obj-$(CONFIG_MACH_SAMA5D4_WIFX)+= sama5d4_wifx/
-obj-$(CONFIG_MACH_SAMA5D4EK)   += sama5d4ek/
 obj-$(CONFIG_MACH_SCB9328) += scb9328/
 obj-$(CONFIG_MACH_SEEED_ODYSSEY)   += seeed-odyssey/
 obj-$(CONFIG_MACH_SOCFPGA_ALTERA_SOCDK)+= altera-socdk/
diff