From: Sean Anderson Date: Wed, 8 Apr 2020 10:20:34 -0400 Subject: [PATCH 4/7] riscv: Add SMP Kconfig option dependency for U-Boot proper In-Reply-To: <1586353273-12255-4-git-send-email-bmeng.cn@gmail.com> References: <1586353273-12255-1-git-send-email-bmeng.cn@gmail.com> <1586353273-12255-4-git-send-email-bmeng.cn@gmail.com> Message-ID: <1201d81a-bd7d-2ca0-9fc1-574e14d56865@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 4/8/20 9:41 AM, Bin Meng wrote: > U-Boot proper running in S-mode only need SMP support when using > SBI v0.1. With SBI v0.2 HSM extension, it does not need implement > multicore boot in U-Boot proper. > > Signed-off-by: Bin Meng > --- > > arch/riscv/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index 10478ae..502143f 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -193,6 +193,7 @@ config SYS_MALLOC_F_LEN > > config SMP > bool "Symmetric Multi-Processing" > + depends on SBI_V01 So should this be "depends on SBI_V01 or RISCV_PRIV_1_9" when the priv spec 1.9 patch gets merged? > help > This enables support for systems with more than one CPU. If > you say N here, U-Boot will run on single and multiprocessor > --Sean