From b795602253f7e431cffd220bae9fcbedacc860a3 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 14 Aug 2018 16:26:51 -0500 Subject: [PATCH] boot/mmu: Fix hrev52228. No returns from mmu_identity_map. * Pretty sure Jam didn't compile the changes to this file. Change-Id: I9dccd24e523d5bd575565f1768314a9d8f2be1ab --- src/system/boot/arch/arm/arch_mmu.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/system/boot/arch/arm/arch_mmu.cpp b/src/system/boot/arch/arm/arch_mmu.cpp index d49de968cd..7da9a269e6 100644 --- a/src/system/boot/arch/arm/arch_mmu.cpp +++ b/src/system/boot/arch/arm/arch_mmu.cpp @@ -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); } }