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

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

[PATCH 15/15] ARM: drop TEXT_BASE

2024-04-25 Thread Sascha Hauer
With all ARM boards being relocatable TEXT_BASE is always defined to 0x0 and can be dropped. The ARCH_TEXT_BASE Kconfig symbol is also no longer used and can be removed. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 4 arch/arm/Makefile | 4

[PATCH 14/15] ARM: make relocatable mandatory

2024-04-25 Thread Sascha Hauer
Most ARM boards use relocatable binaries already. Make it mandatory for the remaining boards to better unify the ARM support. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 10 ++ arch/arm/Makefile | 16 ++--

[PATCH 13/15] ARM: drop barebox_arm_head()

2024-04-25 Thread Sascha Hauer
barebox_arm_head() is unused now. Remove it. Signed-off-by: Sascha Hauer --- arch/arm/include/asm/barebox-arm-head.h | 8 include/mach/socfpga/barebox-arm-head.h | 7 --- 2 files changed, 15 deletions(-) diff --git a/arch/arm/include/asm/barebox-arm-head.h

[PATCH 11/15] ARM: move HAVE_PBL_MULTI_IMAGES to toplevel

2024-04-25 Thread Sascha Hauer
All ARM architectures now have PBL multi image support, so move HAVE_PBL_MULTI_IMAGES and HAVE_PBL_IMAGE to the toplevel ARM config. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 9 ++--- arch/arm/cpu/Kconfig | 3 --- arch/arm/cpu/uncompress.c | 13

[PATCH 12/15] ARM: drop non PBL support

2024-04-25 Thread Sascha Hauer
All ARM boards now use PBL, so remove unused code inside #ifdef CONFIG_PBL_IMAGE. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 1 - arch/arm/cpu/entry_ll_32.S | 4 arch/arm/cpu/entry_ll_64.S | 4 arch/arm/cpu/start.c | 17 -

[PATCH 04/15] ARM: remove ep93xx

2024-04-25 Thread Sascha Hauer
None of the ep93xx boards supports PBL. PBL becomes mandatory, so remove the boards and with it the now unused architecture. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 7 - arch/arm/Makefile | 1 - arch/arm/boards/Makefile

[PATCH 08/15] ARM: remove nomadik

2024-04-25 Thread Sascha Hauer
Nomadik was mainlined once and has never got any attention. It still doesn't have PBL support or device tree support. Remove the ancient and likely unused architecture. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 10 -- arch/arm/Makefile

[PATCH 01/15] ARM: move HAVE_PBL_MULTI_IMAGES up to ARCH_MULTIARCH

2024-04-25 Thread Sascha Hauer
All ARCH_MULTIARCH machines need HAVE_PBL_MULTI_IMAGES enabled, so move selection of the symbol up to ARCH_MULTIARCH. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index

[PATCH 06/15] ARM: remove davinci

2024-04-25 Thread Sascha Hauer
barebox davinci support is very minimal, the only supported board is the virt2real board. This still has no PBL support which becomes mandatory soon, so remove the architecture. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 8 - arch/arm/Makefile|

[PATCH 07/15] ARM: remove PXA boards

2024-04-25 Thread Sascha Hauer
None of the PXA boards has PBL support. This becomes mandatory soon, so remove the boards. Signed-off-by: Sascha Hauer --- arch/arm/boards/Makefile | 5 - arch/arm/boards/lubbock/Makefile | 4 - arch/arm/boards/lubbock/board.c | 118 -

[PATCH 05/15] ARM: remove canon-a1100 support

2024-04-25 Thread Sascha Hauer
canon-a1100 still doesn't have PBL support which will become mandatory soon. Remove the architecture. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 11 -- arch/arm/Makefile | 11 -- arch/arm/boards/Makefile | 1 -

[PATCH 02/15] ARM: move OFTREE and OFDEVICE up one level

2024-04-25 Thread Sascha Hauer
All ARCH_MULTIARCH machines are probing from device tree, so select the necessary symbols from ARCH_MULTIARCH rather than individually from the machines. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 13 ++--- arch/arm/mach-imx/Kconfig | 7 ---

[PATCH 03/15] ARM: remove uemd architecure

2024-04-25 Thread Sascha Hauer
mach-uemd is one of the architectures that still doesn't support PBL. As PBL support becomes mandatory remove the architecture. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 12 --- arch/arm/Makefile| 1 - arch/arm/boards/Makefile

[PATCH 00/15] ARM: remove non PBL ARM boards and sub architectures

2024-04-25 Thread Sascha Hauer
The ARM architecture support in barebox has become quite complicated over time. Most SoCs use PBL and relocatable binaries, but some older ones still don't. This makes the lowlevel ARM code hard to maintain and often hard to understand. I've decided that it is time to make a cut and to abandon

Re: [PATCH] fixup! mtd: nand: move to drivers/mtd/nand/raw/

2024-04-25 Thread Sascha Hauer
On Wed, Apr 24, 2024 at 08:41:56AM +0200, Ahmad Fatoum wrote: > mtd: nand: align IS_ENABLED(symbol) for header stub with Makefile > > drivers/mtd/nand/Makefile builds nand-bb.o when CONFIG_MTD_NAND_CORE > is defined. We need to use the same symbol in the header to avoid > breakage when

Re: [PATCH master 00/23] treewide: fix bugs using DMA API

2024-04-25 Thread Sascha Hauer
On Wed, 24 Apr 2024 08:40:35 +0200, Ahmad Fatoum wrote: > As described in commi b986aad24ab8 ("mci: core: allocate memory used > for DMA with dma_alloc"), the recent fix to ARMv8 cache operations in > commit 65ef5d885263 ("ARM64: let 'end' point after the range in cache > functions") may lead to

v2024.04.0

2024-04-25 Thread Sascha Hauer
Hi All, I am happy to announce barebox-2024.04.0. This release brings us some nice things. Our MMC layer now supports HS200 speed modes and the arasan SD controller is the first driver that supports this. We have two new i.MX boards supported which are the Ka-Ro qsxp-ml81 i.MX8MP board and the