diff --git a/disk/part_efi.c b/disk/part_efi.c index ddf80a73d..b6cda57ff 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -380,7 +380,7 @@ static gpt_entry *alloc_read_gpt_entries(block_dev_desc_t * dev_desc, /* Allocate memory for PTE, remember to FREE */ if (count != 0) { - pte = memalign(CONFIG_SYS_CACHELINE_SIZE, count); + pte = memalign(ARCH_DMA_MINALIGN, count); } if (count == 0 || pte == NULL) {