summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-07-02 09:54:46 -0400
committerTom Rini <[email protected]>2022-07-02 09:54:46 -0400
commit6cae9aeeab374fd4ab1e38cc8473ef8de6dc42ed (patch)
tree4bf4fe415bec0ff55e76cf20a63eecca7e37d6a1 /boot
parent936d468b7bbc8c02071b3d0d24f9c48167cb5ce7 (diff)
parentc5e2442033d9afe67b1913e192b0eafa74eef856 (diff)
Merge branch '2022-07-01-additional-critical-fixes-and-updates'
- Update some MAINTAINERS entries, fix a regression on FIT images
Diffstat (limited to 'boot')
-rw-r--r--boot/image-fit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/boot/image-fit.c b/boot/image-fit.c
index f57d97f5522..df3e5df8836 100644
--- a/boot/image-fit.c
+++ b/boot/image-fit.c
@@ -1264,8 +1264,7 @@ int calculate_hash(const void *data, int data_len, const char *name,
static int fit_image_check_hash(const void *fit, int noffset, const void *data,
size_t size, char **err_msgp)
{
- DEFINE_ALIGN_BUFFER(uint8_t, value, FIT_MAX_HASH_LEN,
- ARCH_DMA_MINALIGN);
+ ALLOC_CACHE_ALIGN_BUFFER(uint8_t, value, FIT_MAX_HASH_LEN);
int value_len;
const char *algo;
uint8_t *fit_value;