boot/mmu: Fix hrev52228. No returns from mmu_identity_map.

* Pretty sure Jam didn't compile the changes to this file.

Change-Id: I9dccd24e523d5bd575565f1768314a9d8f2be1ab
This commit is contained in:
Alexander von Gluck IV
2018-08-14 16:26:58 -05:00
parent a6cb002e99
commit b795602253
+1 -3
View File
@@ -409,9 +409,7 @@ fdt_map_memory_ranges(const char* path, bool physical = false)
return B_ERROR;
}
} else {
if (mmu_map_identity(base, base + size, ARM_MMU_L2_FLAG_B)) {
dprintf("cannot identity map memory range!");
return B_ERROR;
mmu_map_identity(base, base + size, ARM_MMU_L2_FLAG_B);
}
}