From: Simon Glass Date: Fri, 17 Jul 2020 14:48:18 +0000 (-0600) Subject: x86: Set the SMP flag when MP init is complete X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=db3a37c711433a79331b1b47feff15f987a2d89b;p=u-boot.git x86: Set the SMP flag when MP init is complete Set this flag so we can track when it is safe to use CPUs other than the main one. Signed-off-by: Simon Glass Reviewed-by: Wolfgang Wallner Reviewed-by: Bin Meng --- diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c index 787de92fa3..69a23829b9 100644 --- a/arch/x86/cpu/mp_init.c +++ b/arch/x86/cpu/mp_init.c @@ -643,6 +643,7 @@ int mp_init(void) debug("CPU init failed: err=%d\n", ret); return ret; } + gd->flags |= GD_FLG_SMP_READY; return 0; }