]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: use ARCH_DMA_MINALIGN in memalign() when allocating memory
authorTony Dinh <mibodhi@gmail.com>
Tue, 19 Sep 2023 21:27:21 +0000 (14:27 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 9 Oct 2023 19:24:31 +0000 (15:24 -0400)
commitdeb746e0f6a22696e5c752e56755436e7e39d028
tree8790233b89798ee52f1a0d8104acc27c6654d486
parentce743f168a31526508a06280e2c6b9c531a0360c
bootstd: use ARCH_DMA_MINALIGN in memalign() when allocating memory

Use ARCH_DMA_MINALIGN in memalign() when allocating memory to read the script from the media.

Ref: https://lore.kernel.org/u-boot/CAJaLiFy05F3Cr4X4G2mVkppXnBEFZrHQ+5CngYN8eJPg8ENWkg@mail.gmail.com/T/#m26daadc2463fe653b814a94e6309e5e6bb6be1d1

Note: this patch depends on the previous patch
https://patchwork.ozlabs.org/project/uboot/patch/20230917230649.30357-1-mibodhi@gmail.com/

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
boot/bootmeth_script.c