diff --git a/src/system/boot/arch/arm/arch_mmu.cpp b/src/system/boot/arch/arm/arch_mmu.cpp index 9d6264bd50..30df57a38f 100644 --- a/src/system/boot/arch/arm/arch_mmu.cpp +++ b/src/system/boot/arch/arm/arch_mmu.cpp @@ -637,7 +637,7 @@ find_physical_memory_ranges(uint64 &total) size = fdt64_to_cpu(*(uint64_t *)p); else size = fdt32_to_cpu(*(uint32_t *)p); - p += regAddressCells; + p += regSizeCells; len -= sizeof(uint32) * (regAddressCells + regSizeCells); if (size <= 0) {