ARM: Fix copy-paste oversight

This commit is contained in:
François Revol
2015-03-14 04:11:47 +01:00
parent af056576ea
commit 1a8d852f25
+1 -1
View File
@@ -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) {