[PATCH] dma: define compile-time ARCH_DMA_MINALIGN constant for all archs
Sascha Hauer
s.hauer at pengutronix.de
Thu Nov 28 02:00:09 PST 2024
On Mon, 25 Nov 2024 16:30:03 +0100, Ahmad Fatoum wrote:
> DMA_ALIGNMENT is not a compile-time constant on MIPS. This didn't bother
> us so far, but will when we need to use it as argument to __aligned().
>
> Let's additionally define ARCH_DMA_MINALIGN like Linux does and require
> that all architectures define it to a compile-time constant if
> DMA_ALIGNMENT isn't one.
>
> [...]
Applied, thanks!
[1/1] dma: define compile-time ARCH_DMA_MINALIGN constant for all archs
https://git.pengutronix.de/cgit/barebox/commit/?id=5a73b8a94b28 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list