From 383b6c5f763da15ac8005e1da73c1c1f72e712df Mon Sep 17 00:00:00 2001 From: caicheng Date: Wed, 30 Oct 2024 11:23:42 +0800 Subject: [PATCH] plat/raspi: Remove the bootstrap cpu selection 1. Adapt to Tenon by removing the bootstrap cpu selection logic. 2. Set the bootstrap CPU before initializing the MMU. Signed-off-by: caicheng --- start.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.S b/start.S index a800811..97d92cf 100644 --- a/start.S +++ b/start.S @@ -37,6 +37,8 @@ _start: /* preserve dtb addr */ mov x25, x0 + bl set_bootstrap_cpu + // disable mmu and cache mrs x2, sctlr_el1 mov x3, #SCTLR_EL1_M_BIT|SCTLR_EL1_C_BIT @@ -95,8 +97,6 @@ el1_entry: /* Set the context id */ msr contextidr_el1, xzr - bl pick_bootstrap_cpu - ldr x0, =lcpus msr tpidr_el1, x0 -- Gitee