diff --git a/libcpu/aarch64/cortex-a/entry_point.S b/libcpu/aarch64/cortex-a/entry_point.S index c02aab89bc65169291c5dc75f4d249b01cc20481..b652739b4d640976d2f09ae0c6712afe55f5ea84 100644 --- a/libcpu/aarch64/cortex-a/entry_point.S +++ b/libcpu/aarch64/cortex-a/entry_point.S @@ -142,13 +142,11 @@ __start: ret after_mmu_enable: -#if 0 mrs x0, tcr_el1 /* disable ttbr0, only using kernel space */ orr x0, x0, #(1 << 7) msr tcr_el1, x0 msr ttbr0_el1, xzr dsb sy -#endif mov x0, #1 msr spsel, x0