From 8ad7409aae64e412910e98f09d977d85b25bda58 Mon Sep 17 00:00:00 2001 From: songyanguang <345810377@qq.com> Date: Fri, 25 Oct 2024 15:33:06 +0800 Subject: [PATCH] Modify cpu mair setup --- .../arm/armv8-a/cortex-a55/preboot_for_3568/boot.S | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/boot.S b/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/boot.S index ed4eedd2a..4509ddcbe 100644 --- a/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/boot.S +++ b/Ubiquitous/XiZi_AIoT/hardkernel/arch/arm/armv8-a/cortex-a55/preboot_for_3568/boot.S @@ -135,10 +135,10 @@ __cpu_mair_setup: tlbi vmalle1 // Invalidate local TLB dsb nsh - mov x0, #3 << 20 - msr cpacr_el1, x0 // Enable FP/ASIMD - mov x0, #1 << 12 // Reset mdscr_el1 and disable - msr mdscr_el1, x0 // access to the DCC from EL0 +// mov x0, #3 << 20 +// msr cpacr_el1, x0 // Enable FP/ASIMD +// mov x0, #1 << 12 // Reset mdscr_el1 and disable +// msr mdscr_el1, x0 // access to the DCC from EL0 isb // Unmask debug exceptions now, // enable_dbg // since this is per-cpu /* @@ -161,7 +161,7 @@ __cpu_mair_setup: MAIR(0xbb, MT_NORMAL_WT) msr mair_el1, x5 - eret + ret .endfunc